Finding maximum value in a vector
显示 更早的评论
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.
回答(1 个)
Sean de Wolski
2011-2-8
max(double(CT))
perhaps
类别
在 帮助中心 和 File Exchange 中查找有关 Calculus 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!