too many input argument
이전 댓글 표시
function [F]=feature(im)
im=double(im);
m=mean(mean(im));
s=std(std(im));
F=[m s];
end
댓글 수: 2
Emenike Goodluck
2018년 11월 10일
Question not well understood. What is the problem you want to solve? Where do you encounter the error?
Walter Roberson
2018년 11월 10일
How are you invoking this routine ?
답변 (4개)
madhan ravi
2018년 11월 11일
편집: madhan ravi
2018년 11월 11일
im = rand(1,10)
F=feature1(im) %calling of function
function F=feature1(im)
im=double(im);
m=mean(mean(im));
s=std(std(im));
F=[m s];
end
댓글 수: 5
madhan ravi
2018년 11월 11일
Please note that feature is an inbuilt function of matlab so i changes it to feature1 in case to avoid shadowing.
madhan ravi
2018년 11월 11일
So use imread to read Image file
madhan ravi
2018년 11월 11일
I told you to change feature to feature1 did you even read my comment??
Anil Kumar
2018년 11월 11일
madhan ravi
2018년 11월 11일
편집: madhan ravi
2018년 11월 11일
Anytime :), make sure to accept the answer if it answered your question so that people know the question is solved
Anil Kumar
2018년 11월 11일
편집: madhan ravi
2018년 11월 11일
댓글 수: 1
Anil Kumar
2018년 11월 11일
편집: madhan ravi
2018년 11월 11일
카테고리
도움말 센터 및 File Exchange에서 Logical에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!