too many input argument
2 views (last 30 days)
Show older comments
function [F]=feature(im)
im=double(im);
m=mean(mean(im));
s=std(std(im));
F=[m s];
end
2 Comments
Emenike Goodluck
on 10 Nov 2018
Question not well understood. What is the problem you want to solve? Where do you encounter the error?
Answers (4)
madhan ravi
on 11 Nov 2018
Edited: madhan ravi
on 11 Nov 2018
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 Comments
madhan ravi
on 11 Nov 2018
Edited: madhan ravi
on 11 Nov 2018
Anytime :), make sure to accept the answer if it answered your question so that people know the question is solved
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!