Problem 2341. Find maximum value of a curve

Two vectors shall be already defined:

- Input vector x (e.g. x = 0:1:10)

- Result vector y (e.g. y = sin(x))

Create a new function which outputs the maximum value of the curve.

Solution Stats

90.63% Correct | 9.38% Incorrect
Last solution submitted on Oct 25, 2016

Problem Comments


Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!

Join the 15-year community celebration.

Play games and win prizes!

Learn more