Info

此问题已关闭。 请重新打开它进行编辑或回答。

how make this eq.

1 次查看(过去 30 天)
Wisal Adnan
Wisal Adnan 2020-8-19
关闭: MATLAB Answer Bot 2021-8-20
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
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

Community Treasure Hunt

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

Start Hunting!

Translated by