Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
例如,我想blitzer(blitzer(:,4)<0.5,5)在 MATLAB 中对变量列表(或工作区中的所有变量)执行命令。
blitzer(blitzer(:,4)<0.5,5)
所以我想在彗星,dasher等上执行它......
使用who功能:
who
s = who; for i = 1:length(s) temp = eval(s{i}); answer{i} = temp(temp(:,4)<0.5,5); end