MATLAB爱好者论坛-LabFans.com

MATLAB爱好者论坛-LabFans.com (https://www.labfans.com/bbs/index.php)
-   资料存档 (https://www.labfans.com/bbs/forumdisplay.php?f=72)
-   -   如何索引返回数组的函数调用(MatLab)? (https://www.labfans.com/bbs/showthread.php?t=22453)

poster 2019-12-06 05:27

如何索引返回数组的函数调用(MatLab)?
 
我在matlab中调用一个返回数组的函数,但我似乎不得不将其存储在变量中以对其进行索引。

这是起作用的:

lol = coeffvalues(f4) needed_ans = lol(1) 但是来自python我希望是这样的:

needed_ans = coeffvalues(f4)(1) 没有像我想象的那样无法传送值的东西,有解决方案吗



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


所有时间均为北京时间。现在的时间是 23:37

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