フィルターのクリア

I get 'error using sum' whenever I try to get the mean of some numbers.

3 ビュー (過去 30 日間)
Rothsothearith Sam
Rothsothearith Sam 2021 年 4 月 12 日
コメント済み: Rik 2021 年 4 月 12 日
Anyone have any idea why?
This is from my command window:
Any help would be appreciated.
  1 件のコメント
Rik
Rik 2021 年 4 月 12 日
You're entering the 3 values as parameters, not as an array. You may read the documentation to see some examples.

サインインしてコメントする。

回答 (1 件)

Alan Stevens
Alan Stevens 2021 年 4 月 12 日
mean([1.0411, 1.0184, ...etc])
Enclose the numbers within square brackets.

カテゴリ

Help Center および File ExchangeMultidimensional Arrays についてさらに検索

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by