新手求助!根据求函数最大值来确定其中的变量。
Show older comments
不知表达的是否恰当。
比如:
x是一个矩阵,x=[0:pi/36:pi/2];
z=sin(x+y);
我想求最大值z,并在z为最大值的基础上,对应每一个x的y值是多少?
y的范围就定为(0,pi/2)吧
急求,这样得到的y也是对应于x的矩阵。
Accepted Answer
More Answers (0)
Categories
Find more on 安装和许可简介 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!