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!