Accuracy small numbers converted to symbolic

1 次查看(过去 30 天)
Any idea how to eliminate the inaccuracy occuring when converting small numbers to symbolic:
Current Example:
>> sym(2e-6)
ans =
4722366482869645/2361183241434822606848
>> sym(2e-5)
ans =
1/50000

采纳的回答

Walter Roberson
Walter Roberson 2021-5-4
sym('2e-6')
ans = 
0.000002
sym(2)*10^(-6)
ans = 

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Symbolic Variables, Expressions, Functions, and Preferences 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by