how make this eq.
信息
此问题已关闭。 请重新打开它进行编辑或回答。
显示 更早的评论
hi please can tell me how make this eq. in matlab

where n start from 2 , m&c constant value
回答(1 个)
Payam Morsali
2020-10-18
0 个投票
for series you can set a variable to zero and iterate the sum:
fibonacci for example:
a(1)=1
a(2)=1
for i=3:n
a(i)=a(i-1)+a(i-2)
end
0 个评论
此问题已关闭。
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
