
Using Basic Plotting Functions
Graphing Imaginary and Complex Data
When the arguments to plot are complex, the imaginary part is ignored
except when you pass
plot a single complex argument. For this special case,
the comm and is a shortcut for a graph of the real part versus the imaginary
part. Therefore,
plot(Z)
where Z is a complex vector or matrix, is equivalen t to
plot(real(Z),imag(Z))
For example,
t = 0:pi/10:2*pi;
plot(exp(i*t),'-o')
axis equal
3-53
Kommentare zu diesen Handbüchern