Undefined function 'symsum' for input arguments of type 'double'
古いコメントを表示
Can someone explain me how can I correct this error "Undefined function ' symsum' for input arguments of type 'double'"
function [ yij ] = SPCmethod(yij,w)
sym n;
rep = 100;
for i = 1:w
yij(i) = mean (symsum(yij,i,1,rep))/rep
end
3 件のコメント
Walter Roberson
2018 年 3 月 29 日
What is the data type and size() of yij being passed in?
What is it that is to be summed?
symsum() will give back a scalar if its first parameter is scalar, so it is not immediately clear why you want to mean() the result.
Laura Barroso
2018 年 3 月 29 日
編集済み: Laura Barroso
2018 年 3 月 29 日
Walter Roberson
2018 年 3 月 29 日
What is the data class of yij? You mention it is a matrix, but is it a matrix of double or a matrix of symbolic constants or a matrix of formulae?
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Calculus についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
