how make this eq.

hi please can tell me how make this eq. in matlab
where n start from 2 , m&c constant value

2 个评论

m and c are vector right? how about x?
thanks for your replay in the begin x initial value as

回答(1 个)

Payam Morsali
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

此问题已关闭。

产品

版本

R2016a

标签

关闭:

2021-8-20

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by