Effacer les filtres
Effacer les filtres

How to convert fraction form to decimal form?

2 vues (au cours des 30 derniers jours)
Waseem Sajjad
Waseem Sajjad le 17 Déc 2019
If I simply write
answer is
ans =
But if I put
>>syms a
it gives me answer
ans =
But I want this answer in decimal form.

Réponses (1)

the cyclist
the cyclist le 17 Déc 2019
I think you want to use the subs command.


En savoir plus sur Loops and Conditional Statements dans Help Center et File Exchange


Community Treasure Hunt

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

Start Hunting!

Translated by