## mukushla 3 years ago let z be a complex matrix like [i -1 -2 -3]

1. mukushla

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

2. mukushla

but i expect this|dw:1349333443759:dw|

3. mukushla

@UnkleRhaukus

4. UnkleRhaukus

let me try

5. mukushla

sure...thank u for coming

6. UnkleRhaukus

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

7. mukushla

8. mukushla

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

9. UnkleRhaukus

im not sure what you mean

10. mukushla

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

11. mukushla

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

12. UnkleRhaukus

i am still confused

13. mukushla

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])

14. mukushla

i defined a zero matrix y1 and fixed it

15. UnkleRhaukus

|dw:1349334674758:dw|

16. mukushla

yeah

17. UnkleRhaukus

so whats the problem ?

18. mukushla

its ok now....i wasn't able to manipulate the left hand side of the graph (that line)... it was something like this|dw:1349334922294:dw|

19. mukushla

but after defining that y1 its fixed

20. UnkleRhaukus

ok