Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

how make this eq.

1 vue (au cours des 30 derniers jours)
Wisal Adnan
Wisal Adnan le 19 Août 2020
Clôturé : MATLAB Answer Bot le 20 Août 2021
hi please can tell me how make this eq. in matlab
where n start from 2 , m&c constant value
  2 commentaires
KSSV
KSSV le 19 Août 2020
m and c are vector right? how about x?
Wisal Adnan
Wisal Adnan le 19 Août 2020
thanks for your replay in the begin x initial value as

Réponses (1)

Payam Morsali
Payam Morsali le 18 Oct 2020
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

Tags

Produits


Version

R2016a

Community Treasure Hunt

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

Start Hunting!

Translated by