repeat a calculation for differently named variables
显示 更早的评论
Hi,
Any ideas on the shortest way to perform a calculation on several different named variables to give output of different names too?
For example, say I have variables a1, a2, a3 and I want to produce output named f1, f2, f3 all of which are defined as
f1=10(a1)+6 f2=10(a2)+6 f3=10(a3)+6
what would be the shortest way to do this?
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 MATLAB 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!