Writing sums with a loop?
3 views (last 30 days)
Shivani Dixit on 9 Jun 2021
MATLAB provides you with and easy to understand document that you can take advantage of. The functions that the above mentioned equation requires are inbuilt in matlab , you can perform the summation by either using loop or multiplication , since the summation part is independent of variable n. You can leverage the below documentations :
abs function : https://www.mathworks.com/help/matlab/ref/abs.html