I need to know what the single quote mark is at the end of the first line of this code . What is the meaning of it .?
X = linspace(0,2*pi,50)';
Y = [cos(X), 0.5*sin(X)];
stem(Y)
when I remove I see a single color two functions plotted coming after the other , when I use it , I see what exactly I want to see . But what is it ? When should I use it ?
The single quote mark is transposing the vector. That means, a row-vector becomes a column-vector and vice versa.