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.

类别

提问:

2011-2-8

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by