How to sort the Greatest or least numerical value?

Hello,
I am trying to compute these simple fraction in Matlab.
x=2709/1024
y=10583/4000
w=2024/765
z=sqrt(7)
How can I run these in the editor and have it display the least or greatest number in command window?
thank you

1 Comment

Time to learn to use vectors. Why do you think they call it MATLAB? That mat stands for matrix. Use them.
help sort
help max
help min

Sign in to comment.

Answers (0)

Categories

Asked:

on 7 Jan 2015

Edited:

on 8 Jan 2015

Community Treasure Hunt

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

Start Hunting!