sum() function gives error
古いコメントを表示
Code for simple creation of array and calculating the sum using the sum() function.
I copied the code from the documentation and it just won't work for me.
Can anyone help me out!!
(I only have the trial version and I have tried the code in the online trial version as well as on the trial software)

回答 (2 件)
madhan ravi
2020 年 7 月 18 日
clear sum
Bruno Luong
2020 年 7 月 18 日
編集済み: Bruno Luong
2020 年 7 月 18 日
1 投票
You have created a variable named SUM in your workspace that shadows MATLAB stock function SUM.
カテゴリ
ヘルプ センター および File Exchange で Matrix Indexing についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!