Cody

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

84.0% Correct | 16.0% Incorrect
Last solution submitted on Feb 06, 2017

Problem Comments

Tags

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!