Finding maximum value in a vector
Show older comments
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.
Answers (1)
Sean de Wolski
on 8 Feb 2011
max(double(CT))
perhaps
Categories
Find more on Calculus in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!