フィルターのクリア

How to convert fraction form to decimal form?

3 ビュー (過去 30 日間)
Waseem Sajjad
Waseem Sajjad 2019 年 12 月 17 日
回答済み: the cyclist 2019 年 12 月 17 日
If I simply write
>>1.234
answer is
>>
ans =
1.234
But if I put
>>syms a
>>1.234*a
it gives me answer
>>
ans =
(2469*a)/2000
But I want this answer in decimal form.

回答 (1 件)

the cyclist
the cyclist 2019 年 12 月 17 日
I think you want to use the subs command.

カテゴリ

Help Center および File ExchangeLoops and Conditional Statements についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by