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

1 visualizzazione (ultimi 30 giorni)
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.

Risposte (1)

madhan ravi
madhan ravi il 20 Nov 2018
Modificato: madhan ravi il 20 Nov 2018
y = 2.35363 +a(7.636436356)
y = vpa(y,2)

Categorie

Scopri di più su Get Started with MATLAB in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by