how to select choose only two place after a decimal point in a equation file.

1 次查看(过去 30 天)
I have a equation y= 2.35363 +a(7.636436356).
i am expecting my output to be
y= 2.35 +a(7.63)
Kindly help me.

回答(1 个)

madhan ravi
madhan ravi 2018-11-20
编辑:madhan ravi 2018-11-20
y = 2.35363 +a(7.636436356)
y = vpa(y,2)

类别

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

标签

Community Treasure Hunt

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

Start Hunting!

Translated by