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 件のコメント

KSSV
KSSV 2020 年 8 月 19 日
m and c are vector right? how about x?
Wisal Adnan
Wisal Adnan 2020 年 8 月 19 日
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

タグ

質問済み:

2020 年 8 月 19 日

閉鎖済み:

2021 年 8 月 20 日

Community Treasure Hunt

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

Start Hunting!

Translated by