MATLAB POLYSPACE RELEASE NOTES User Manual Page 109

  • Download
  • Add to my manuals
  • Print
  • Page
    / 240
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 108
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
Page view 108
1 2 ... 104 105 106 107 108 109 110 111 112 113 114 ... 239 240

Comments to this Manuals

No comments