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

10 vues (au cours des 30 derniers jours)
Jay Vaidya
Jay Vaidya le 24 Juil 2020
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.

Réponse acceptée

Harsha Priya Daggubati
Harsha Priya Daggubati le 27 Juil 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!

Plus de réponses (0)

Catégories

En savoir plus sur MATLAB dans Help Center et File Exchange

Tags

Produits


Version

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by