Finding maximum value in a vector
Ältere Kommentare anzeigen
I am trying to find the maximum value of a vector that is from an integration. My code looks like:
syms z;
CT=int((s*pi^3*z^2/8).*LT,0.15,1);
MaxCT=max(CT)
LT is a vector and I am integrating from 0.15 to 1. The max function does not work but I don't know another way to get the information I need. Thanks for any help.
Antworten (1)
Sean de Wolski
am 8 Feb. 2011
max(double(CT))
perhaps
Kategorien
Mehr zu Calculus finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!