i need help please

17 visualizaciones (últimos 30 días)
Ahmed Ashraf
Ahmed Ashraf el 19 de Mzo. de 2017
Comentada: Walter Roberson el 8 de Dic. de 2022
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 comentarios
Mykhailo
Mykhailo el 8 de Dic. de 2022
Walter Roberson
Walter Roberson el 8 de Dic. de 2022
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.

Iniciar sesión para comentar.

Respuesta aceptada

Star Strider
Star Strider el 19 de Mzo. de 2017
Try this:
7+(7/8)

Más respuestas (0)

Categorías

Más información sobre Creating and Concatenating Matrices en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by