MATLAB爱好者论坛-LabFans.com

MATLAB爱好者论坛-LabFans.com (https://www.labfans.com/bbs/index.php)
-   MATLAB论坛 (https://www.labfans.com/bbs/forumdisplay.php?f=6)
-   -   [MATLAB基础] 请问下这样的函数怎么求? (https://www.labfans.com/bbs/showthread.php?t=11294)

jrtp 2010-04-10 11:39

请问下这样的函数怎么求?
 
f=1:0.5:10
Av=8/f

matlab会提示Matrix dimensions must agree

应该是f是矩阵,不能做除数。但要怎么做能?

beginer 2010-04-10 12:04

回复: 请问下这样的函数怎么求?
 
Av=8./f 点除运算

cuixin 2010-04-10 17:09

回复: 请问下这样的函数怎么求?
 
跟上面的一样的建议,绝对是这样的


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

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