Not enough input arguments.
이전 댓글 표시
function [pz pdz pwz pzdw]=plsa(x,k)
err=0.0001;
[m n]=size(x);
pz=rand(1,k);
pz2=pz;
pz2(1)=pz2(1)+2*err;
pdz=rand(k,n);
pwz=rand(k,m);
pzdw=rand(m,n,k); %initialize
h=0;
Error using plsa (line 10) Not enough input arguments.
댓글 수: 2
답변 (1개)
Star Strider
2015년 11월 4일
0 개 추천
You have to call the function from a script or the Command Window with the appropriate arguments. You cannot just run it as you would a script.
카테고리
도움말 센터 및 File Exchange에서 Argument Definitions에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!