Error in scatter program

2 visualizaciones (últimos 30 días)
Shivakumar
Shivakumar el 12 de Ag. de 2013
Hi,
I am trying to plot the x and y variables in 'scatter' mode which is pre-defined in the MATLAB.
This is the error
Undefined function or variable "s".
Error in ==> scatter at 74
if isempty(s), s = 36; end
Can anyone please help me to get solved by this problem.
Thank you
  4 comentarios
Walter Roberson
Walter Roberson el 12 de Ag. de 2013
That is not the code we need. What we need is the code that you are using to call scatter().
Shivakumar
Shivakumar el 12 de Ag. de 2013
scatter(COEFF) where COEFF is a 2*2 matrix

Iniciar sesión para comentar.

Respuesta aceptada

Walter Roberson
Walter Roberson el 13 de Ag. de 2013
It is not valid to pass only a single argument to scatter(). The minimum you can pass is two arguments, X and Y.

Más respuestas (1)

mojtaba najibifar
mojtaba najibifar el 12 de Ag. de 2013
hi can you send to me your code?

Categorías

Más información sobre Scatter Plots en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by