mukushla
let z be a complex matrix like [i -1 -2 -3]
Delete
Share
This Question is Closed
mukushla
Best Response
You've already chosen the best response.
0
when i plot this in Matlab it returns|dw:1349333366207:dw|
mukushla
Best Response
You've already chosen the best response.
0
but i expect this|dw:1349333443759:dw|
mukushla
Best Response
You've already chosen the best response.
0
@UnkleRhaukus
UnkleRhaukus
Best Response
You've already chosen the best response.
1
let me try
mukushla
Best Response
You've already chosen the best response.
0
sure...thank u for coming
UnkleRhaukus
Best Response
You've already chosen the best response.
1
what are you entering ,
when i enter this i get the expected plot
z=[i,-1,-2,-3];plot(z,'o')
mukushla
Best Response
You've already chosen the best response.
0
oh yeah my bad...how about this one [-1 -2 -3] ?
mukushla
Best Response
You've already chosen the best response.
0
i mean when we have a matrix with real components...how plot it like complexs ???
UnkleRhaukus
Best Response
You've already chosen the best response.
1
im not sure what you mean
mukushla
Best Response
You've already chosen the best response.
0
i mean i expect this|dw:1349333968567:dw| when entering z=[i,-1,-2,-3];plot(z,'o')
mukushla
Best Response
You've already chosen the best response.
0
sorry z=[-1,-2,-3];plot(z,'o')
UnkleRhaukus
Best Response
You've already chosen the best response.
1
i am still confused
mukushla
Best Response
You've already chosen the best response.
0
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])
mukushla
Best Response
You've already chosen the best response.
0
i defined a zero matrix y1 and fixed it
UnkleRhaukus
Best Response
You've already chosen the best response.
1
|dw:1349334674758:dw|
mukushla
Best Response
You've already chosen the best response.
0
yeah
UnkleRhaukus
Best Response
You've already chosen the best response.
1
so whats the problem ?
mukushla
Best Response
You've already chosen the best response.
0
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|
mukushla
Best Response
You've already chosen the best response.
0
but after defining that y1 its fixed
UnkleRhaukus
Best Response
You've already chosen the best response.
1
ok