How can I get maximum value from any plot(x,y) in matlab?

Technical Source
1 min readOct 11, 2019

--

  1. %Supposed you have:
  2. A = 0:0.1:2;
  3. B = sin(A);
  4. % then the maximum value of A, B is
  5. Max_AB = max(A, B); % Maximum of AB
  6. % or if you are only interested in finding the maximum value of A or B then use:
  7. Max_A = max(A); %For maximum of A
  8. % Or if you specifically want to know the maximum value between A and B, then use
  9. Max_between_AB = max(max(A, B));

Matlabsolutions company provide best assignment help in Australia.

for more information please contact our team MATLABSOLUTIONS.com

--

--

Technical Source
Technical Source

Written by Technical Source

Simple! That is me, a simple person. I am passionate about knowledge and reading. That’s why I have decided to write and share a bit of my life and thoughts to.

No responses yet