필터 지우기
필터 지우기

Undefined function 'symsum' for input arguments of type 'double'

조회 수: 2 (최근 30일)
Laura Barroso
Laura Barroso 2018년 3월 28일
편집: Jan 2018년 5월 25일
function [ yij ] = SPCmethod(yij,w)
sym n;
rep = 100;
for i = 1:w
yij(i) = mean (symsum(yij,i,1,rep))/rep
end
  댓글 수: 1
Jan
Jan 2018년 5월 25일
[MOCED from flags] Yuichi Tadokoro wrote
Flagged as Unclear
@Yuichi Tadokoro: Please use flags only to inform admins and editors about content, which conflicts with the terms of use, e.g. spam or rudeness. Thanks.

댓글을 달려면 로그인하십시오.

답변 (1개)

Jan
Jan 2018년 5월 25일
편집: Jan 2018년 5월 25일
The error message is clear: yij is a variable of type double, but symsum needs a symbolical expressions. Please post, what you use as input to this function.
Omit the useless sym n;, because n is not used anywhere.

카테고리

Help CenterFile Exchange에서 Biomedical Imaging에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by