How do i increase the number of significant digits in a complex number?

10 views (last 30 days)
(0.68389,-0.00148444) this represents (real,imag). I was trying to create a complex array using MATLAB for the same. Now, when i did this, MATLAB gave me 0.6839 - 0.0015i which is not as precise as my actual value. Is there any way i can increase the precision or the number of significant bits?
Thanks

Answers (2)

Steven Lord
Steven Lord on 21 Jul 2015
Change the display format using the FORMAT function. Note that this does not have any effect on the stored numbers, which are stored in double precision.

Image Analyst
Image Analyst on 21 Jul 2015
format long g

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!