Too many output arguments in 'project' command :(
2 次查看(过去 30 天)
显示 更早的评论
Hey i just try to do
Xproj = project(Xm, Wpca(:,1:2))
where Xm & Wpca are 178*13 double type vectors. I get error 'Too many arguments'. Do you know how to overcome this problem ?
Thanks
2 个评论
Ameer Hamza
2018-5-29
Have you defined project() yourself? Check whether it returns any output arguments. i.e. Check the first line of the function, it should be something like
function out = project(x, y)
KSSV
2018-5-29
Your function doesn't take any output....you need to change the first line, as suggested above.
回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Create Large-Scale Model Components 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!