Azzera filtri
Azzera filtri

Determine function as output

1 visualizzazione (ultimi 30 giorni)
Mohammad Ezzad Hamdan
Mohammad Ezzad Hamdan il 19 Mag 2018
Commentato: John D'Errico il 19 Mag 2018
How can i determine if the output is a fraction, it will return true, or else its a false. Are there any specific function?
  1 Commento
John D'Errico
John D'Errico il 19 Mag 2018
You want to determine if a number is a fraction? EVERY floating point number is SOME fraction. For example, 0.12345235567452?
At the very least, it is
12345235567452/100000000000000
At best, read the help for the function rat.

Accedi per commentare.

Risposte (0)

Categorie

Scopri di più su Get Started with MATLAB in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by