Error using feature_vec (line 8) Not enough input arguments.

조회 수: 2 (최근 30일)
sujit
sujit 2014년 11월 7일
답변: David Sanchez 2014년 11월 7일
when run The Seven Invariant Moments code is show Error using feature_vec (line 8) Not enough input arguments. where is the error

답변 (1개)

David Sanchez
David Sanchez 2014년 11월 7일
The error is that you are not calling the function with enough arguments. For example, if you call you function feature_vec like this:
feature_vec(a,b)
where a and b are variables within your code
but the feature_vec is defined like this:
feature_vec(x,y,z)
it expects at least 3 input arguments, and when you call it with just two, it returns the error you receive. Take a look at the definition of your feature_vec function and make sure you use it properly.

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by