Thread Subject: import data from Cadence to Matlab with engineering notation format

Subject: import data from Cadence to Matlab with engineering notation format

From: Olivier

Date: 22 Sep, 2008 13:55:03

Message: 1 of 2

Hi,
I use Cadence to simulate microelectronic circuit, but I don't really appreciate the calculator provided in the software suite. I then Use Matlab to perform derivations on the data. Cadence use the Engineering Notation (EN) to store data (maybe there's a way to change that but so far I don't know it) and obviously Matlab does not know how to deal with that.

To make things clear and avoid misunderstanding, when I talk about Engineering Notation, I talk about:
G <=> 10e9, M <=> 10e6, k <=> 10e3...

So, as I don't know if Matlab knows EN, each time I use a text editor and change all these engineering suffixes. This is such a fun and so not boring task...
My question is then:
Is there a way to import data stored in Engineering notation format in matlab ??

Thank you for your time and consideration.


Olivier

Subject: import data from Cadence to Matlab with engineering notation format

From: Andres

Date: 22 Sep, 2008 15:05:04

Message: 2 of 2

I'm not sure about how your data looks like exactly, but if it is text like

10.2M 9.00k
1.23G 3.14
...

you could try my text import function 'txt2mat' (file exchange) and use it's string replacement argument with
{{'G','e9'}, {'M','e6'}, ...}

I haven't checked this, and there might be other ways to import EN format (but I don't know them), so take this just as a quick guess.

Regards
Andres

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
cadence Olivier 22 Sep, 2008 10:00:05
engineering Olivier 22 Sep, 2008 10:00:05
notation Olivier 22 Sep, 2008 10:00:05
suffix Olivier 22 Sep, 2008 10:00:05
import Olivier 22 Sep, 2008 10:00:05
format Olivier 22 Sep, 2008 10:00:05
rssFeed for this Thread
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com