Ask your own question, for FREE!
Computer Science 13 Online
OpenStudy (anonymous):

let z be a complex matrix like [i -1 -2 -3]

OpenStudy (anonymous):

when i plot this in Matlab it returns|dw:1349333366207:dw|

OpenStudy (anonymous):

but i expect this|dw:1349333443759:dw|

OpenStudy (anonymous):

@UnkleRhaukus

OpenStudy (unklerhaukus):

let me try

OpenStudy (anonymous):

sure...thank u for coming

OpenStudy (unklerhaukus):

what are you entering , when i enter this i get the expected plot z=[i,-1,-2,-3];plot(z,'o')

OpenStudy (anonymous):

oh yeah my bad...how about this one [-1 -2 -3] ?

OpenStudy (anonymous):

i mean when we have a matrix with real components...how plot it like complexs ???

OpenStudy (unklerhaukus):

im not sure what you mean

OpenStudy (anonymous):

i mean i expect this|dw:1349333968567:dw| when entering z=[i,-1,-2,-3];plot(z,'o')

OpenStudy (anonymous):

sorry z=[-1,-2,-3];plot(z,'o')

OpenStudy (unklerhaukus):

i am still confused

OpenStudy (anonymous):

its ok Unkle... K=linspace(0,5,2000); p=1; for i=1:length(K) b=roots([1 6 11 6+6*K(i)]); c(p)=b(1); c(p+1)=b(2); c(p+2)=b(3); p=p+3; end for k=0:1999 x1(k+1)=c(3*k+1)+0*sqrt(-1); y1(k+1)=0; x2(k+1)=c(3*k+2)+0*sqrt(-1); x3(k+1)=c(3*k+3)+0*sqrt(-1); end plot(x1,y1,'o') hold on plot(x2,'o') hold on plot(x3,'o') axis([-4 1 -3 3])

OpenStudy (anonymous):

i defined a zero matrix y1 and fixed it

OpenStudy (unklerhaukus):

|dw:1349334674758:dw|

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!