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);

Respuestas (1)

Walter Roberson
Walter Roberson el 10 de Abr. de 2011

0 votos

You need to invoke the function from the command line, passing it a value. For example,
map(1.8)

Categorías

Más información sobre Image Processing Toolbox en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 10 de Abr. de 2011

Community Treasure Hunt

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

Start Hunting!

Translated by