Invalid expression. When calling a function or indexing a variable, use parentheses. Otherwise, check for mismatched delimiters. Can anyone help in this error?
2 ビュー (過去 30 日間)
古いコメントを表示
prompt = " Mean Values:";
M = input(prompt)
prompt = "Range Values:";
R = input(prompt)
Mean = mean(M);
Mean
Range = mean(R);
Range
d = 2.326
n = 5
SE = Range/(d*(sqrt[n]);
0 件のコメント
回答 (1 件)
VBBV
2022 年 8 月 2 日
M = 1:10;
R = 200:300;
Mean = mean(M);
Range = mean(R)
d = 2.326;
n = 5;
SE = Range./(d*sqrt(n)) % check the parenthesis and [ ] is used for concatenating numbers /arrays
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Creating and Concatenating Matrices についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!