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

10 次查看(过去 30 天)
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.

采纳的回答

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

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 MATLAB 的更多信息

标签

产品


版本

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by