Finding maximum value in a vector
Mostrar comentarios más antiguos
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.
Respuestas (1)
Sean de Wolski
el 8 de Feb. de 2011
max(double(CT))
perhaps
Categorías
Más información sobre Calculus en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!