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 Commenti

KSSV
KSSV il 19 Ago 2020
m and c are vector right? how about x?
Wisal Adnan
Wisal Adnan il 19 Ago 2020
thanks for your replay in the begin x initial value as

Risposte (1)

Payam Morsali
Payam Morsali il 18 Ott 2020

0 voti

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

Questa domanda è chiusa.

Prodotti

Release

R2016a

Tag

Richiesto:

il 19 Ago 2020

Chiuso:

il 20 Ago 2021

Community Treasure Hunt

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

Start Hunting!

Translated by