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

89.83% Correct | 10.17% Incorrect
Last solution submitted on Aug 26, 2016

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!

Join the 15-year community celebration.

Play games and win prizes!

Learn more