How to display a number in a standardized unit/range?

13 Ansichten (letzte 30 Tage)
I have these following numbers, which will vary each simulation run. That means, let's say the C1 can take any value between 1e-12, 1e-11 to 1e-9. But, can I represent this as 1 pF or 10 pF or 1 nF? The question is to automatically detect the range if it is pico, nano, or micro.

Akzeptierte Antwort

Harsha Priya Daggubati
Harsha Priya Daggubati am 27 Jul. 2020
Hi,
Can you be more clear on the part on why do you want to convert your values to scientific notations like nano or pico.
If you just want to convert the numbers, you can refer to the following file exchange submission:
Hope this helps!

Weitere Antworten (0)

Kategorien

Mehr zu Programming finden Sie in Help Center und File Exchange

Tags

Produkte


Version

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by