Info
This question is closed. Reopen it to edit or answer.
how make this eq.
2 views (last 30 days)
Show older comments
hi please can tell me how make this eq. in matlab
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/348224/image.png)
where n start from 2 , m&c constant value
Answers (1)
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
0 Comments
This question is closed.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!