We have moved to @ Placement Papers Hub !! Visit our new website here for more..

Plot() Matlab function command


Plot() Matlab function

plot(Y) plots the columns of Y versus the index of each value when Y is a real number. For complex Y, plot(Y) is equivalent to plot(real(Y),imag(Y))

>> X=[4 5 9 6 1 2 ]

X =

     4     5     9     6     1     2

>> plot(X)






















>> X=[4+i 5-3i 9+2i 0+6i]

X =

 4.0000 + 1.0000i   5.0000 - 3.0000i   9.0000 + 2.0000i        0 + 

6.0000i

>> plot(X)