i need help please

17 ビュー (過去 30 日間)
Ahmed Ashraf
Ahmed Ashraf 2017 年 3 月 19 日
コメント済み: Walter Roberson 2022 年 12 月 8 日
i want to be able to input mixed fractions in matlab for example 7(7/8) if i enter it as 7*(7/8) or 7(7/8) it does not work what can i do to fix this???
  4 件のコメント
Mykhailo
Mykhailo 2022 年 12 月 8 日
Walter Roberson
Walter Roberson 2022 年 12 月 8 日
7.*(7.\8)
ans = 8
Are you sure that is what the user is looking for?? If so, why would they use the obscure .\ operator rather than
7/(7/8)
ans = 8
I am morally certain that what they are looking for is the value that is 7/8 greater than 7.

サインインしてコメントする。

採用された回答

Star Strider
Star Strider 2017 年 3 月 19 日
Try this:
7+(7/8)

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeCreating and Concatenating Matrices についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by