Array processing operation and summation
Afficher commentaires plus anciens
Réponse acceptée
Plus de réponses (1)
KSSV
le 12 Avr 2021
0 votes
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 commentaire
Rui Hou
le 12 Avr 2021
Catégories
En savoir plus sur Loops and Conditional Statements dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
