Info

This question is closed. Reopen it to edit or answer.

how make this eq.

1 view (last 30 days)
Wisal Adnan
Wisal Adnan on 19 Aug 2020
Closed: MATLAB Answer Bot on 20 Aug 2021
hi please can tell me how make this eq. in matlab
where n start from 2 , m&c constant value
  2 Comments
KSSV
KSSV on 19 Aug 2020
m and c are vector right? how about x?
Wisal Adnan
Wisal Adnan on 19 Aug 2020
thanks for your replay in the begin x initial value as

Answers (1)

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

Products


Release

R2016a

Community Treasure Hunt

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

Start Hunting!