Too many output arguments in 'project' command :(

조회 수: 1 (최근 30일)
Charanraj
Charanraj 2018년 5월 29일
답변: Charanraj 2018년 5월 29일
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
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
KSSV 2018년 5월 29일
Your function doesn't take any output....you need to change the first line, as suggested above.

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

답변 (1개)

Charanraj
Charanraj 2018년 5월 29일
Yes, I have to define a function to use it. Thanks for your comments :)

카테고리

Help CenterFile Exchange에서 Project Setup에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by