Array processing operation and summation
古いコメントを表示
採用された回答
その他の回答 (1 件)
KSSV
2021 年 4 月 12 日
0 投票
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.
カテゴリ
ヘルプ センター および File Exchange で Loops and Conditional Statements についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
