IMAGE PROCESSING
显示 更早的评论
??? Input argument "x" is undefined.
Error in ==> map at 2 y1= x.*(2-x); This s my error what should i do to clear this??? can anyone help me!!!!
MY CODE IS:
function [y1 y2 y3] = map(x)
y1 = x.*(2-x);
回答(1 个)
Walter Roberson
2011-4-10
You need to invoke the function from the command line, passing it a value. For example,
map(1.8)
类别
在 帮助中心 和 File Exchange 中查找有关 Image Processing Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!