i need help please

조회 수: 18 (최근 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 CenterFile Exchange에서 Creating and Concatenating Matrices에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by