Array processing operation and summation
Ältere Kommentare anzeigen
Akzeptierte Antwort
Weitere Antworten (1)
KSSV
am 12 Apr. 2021
0 Stimmen
To achieve this you need to read about input and for loop.
- Use input and enter the value of N.
- Initialize the required sum value to zero.
- Run a d for loop from n = 1 to N, inside the loop calculate your formula and sum using the above initliazed value.
1 Kommentar
Rui Hou
am 12 Apr. 2021
Kategorien
Mehr zu Loops and Conditional Statements finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
