Frozan M.

asked • 09/01/13

How to find the answer of maximum and minimum height in a range using for loop, if else and find function in Matlab language

How to find the answer of maximum and minimum height in a range using for loop, if else and find function in Matlab language
 
The range is x = [1 2 5 0 2 3]
that should give the highest jump value of x in 'k' and vector position where jump occurred in 'y'
 
the answer is k = 5 and y = 3
i need the same answer by solving it using for loop and if else condition in Matlab language.

1 Expert Answer

By:

Beth L. answered • 09/04/13

Tutor
0 (0)

Patient, Knowledgeable and Very Qualified Mathematics Tutor

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.