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!