d*****o 发帖数: 2868 | 1 im trying to do my dsp hw and one of the problems in the hw is asking me to
plot z=1+0.25*j
i tried to do
z=1+0.25*j;
plot (z)
but the vector is not showing up on the plot, any1 knows why? 1 is the real
part, 0.25j is the imaginary part. So if u graph it on a sheet paper, the
vector goes in the ne direction, the slope of the vector is .25. But I am
having trouble making matlab to make the plot. :( | c****p 发帖数: 6474 | 2 plot(z)只出一个点,很小。
想画出0到z之间的线段,试试plot([0,z])
to
real
【在 d*****o 的大作中提到】![](/moin_static193/solenoid/img/up.png) : im trying to do my dsp hw and one of the problems in the hw is asking me to : plot z=1+0.25*j : i tried to do : z=1+0.25*j; : plot (z) : but the vector is not showing up on the plot, any1 knows why? 1 is the real : part, 0.25j is the imaginary part. So if u graph it on a sheet paper, the : vector goes in the ne direction, the slope of the vector is .25. But I am : having trouble making matlab to make the plot. :(
|
|