How can I get maximum value from any plot(x,y) in matlab?
1 min readOct 11, 2019
- %Supposed you have:
- A = 0:0.1:2;
- B = sin(A);
- % then the maximum value of A, B is
- Max_AB = max(A, B); % Maximum of AB
- % or if you are only interested in finding the maximum value of A or B then use:
- Max_A = max(A); %For maximum of A
- % Or if you specifically want to know the maximum value between A and B, then use
- Max_between_AB = max(max(A, B));
Matlabsolutions company provide best assignment help in Australia.
for more information please contact our team MATLABSOLUTIONS.com