MATLAB爱好者论坛-LabFans.com

MATLAB爱好者论坛-LabFans.com (https://www.labfans.com/bbs/index.php)
-   资料存档 (https://www.labfans.com/bbs/forumdisplay.php?f=72)
-   -   如何定义向量函数 (https://www.labfans.com/bbs/showthread.php?t=22300)

poster 2019-11-30 21:43

如何定义向量函数
 
我想在x定义一个矢量函数,例如[sin(x),sin(2*x), ... ,sin(100*x)] ,其中x是变量。我定义的是:

for i=1:100 H(i)=@(x) sin(i*x); end 但这是行不通的。



[url=https://stackoverflow.com/q/59116666]更多&回答...[/url]


所有时间均为北京时间。现在的时间是 21:15

Powered by vBulletin
版权所有 ©2000 - 2025,Jelsoft Enterprises Ltd.