title: How do you format complex numbers for text output in matlab
body: <p>I have a complex number that I want to output as text using the fprintf command. I don't see a formatspec for complex numbers. Is there an easy way to do this?</p>
  
  <p>Using the format spec for fixed-point is only outputting the real part.</p>