Home > Community > Forums > Custom IC SKILL > MATLAB digit precision/ Cadence simulation file import

Email

* Required Fields

Recipients email * (separate multiple addresses with commas)

Your name *

Your email *

Message *

Contact Us

* Required Fields
First Name *

Last Name *

Email *

Company / Institution *

Comments: *

 MATLAB digit precision/ Cadence simulation file import 

Last post Thu, Oct 4 2012 2:28 AM by Andrew Beckett. 2 replies.
Started by Flyyn Rider 03 Oct 2012 06:07 AM. Topic has 2 replies and 1260 views
Page 1 of 1 (3 items)
Sort Posts:
  • Wed, Oct 3 2012 6:07 AM

    • Flyyn Rider
    • Top 500 Contributor
    • Joined on Mon, Jul 19 2010
    • NY, OH
    • Posts 27
    • Points 360
    MATLAB digit precision/ Cadence simulation file import Reply

    Greetings
    I have been trying to import simulation data from Cadence into MATLAB. I save the simulation data in csv format and imported it into MATLAB, but the import wizard shows truncated values with only 4 digit precision while the original values taken from Cadence have upto 15 digit precision. I have attached a figure for reference. Can i enhance digit precision in MATLAB in import wizard?

     

    • Post Points: 5
  • Thu, Oct 4 2012 2:16 AM

    • Flyyn Rider
    • Top 500 Contributor
    • Joined on Mon, Jul 19 2010
    • NY, OH
    • Posts 27
    • Points 360
    Re: MATLAB digit precision/ Cadence simulation file import Reply
    "MATLAB does its internal arithmetic in IEEE floating point precision using approximately 16 decimal digits, but the default display is only 5 decimal digits, so do not be too concerned about the digits actually displayed as MATLAB output...." Ref: http://homepages.math.uic.edu/~hanson/MATLAB/MATLABformat.html
    • Post Points: 20
  • Thu, Oct 4 2012 2:28 AM

    Re: MATLAB digit precision/ Cadence simulation file import Reply

    Use the Matlab format function - for example type "format long" to change the default output formatting. See the Matlab help for more details.

    Regards,

    Andrew

    • Post Points: 5
Page 1 of 1 (3 items)
Sort Posts:
Started by Flyyn Rider at 03 Oct 2012 06:07 AM. Topic has 2 replies.