Error in scatter program

2 次查看(过去 30 天)
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 个评论
Walter Roberson
Walter Roberson 2013-8-12
That is not the code we need. What we need is the code that you are using to call scatter().
Shivakumar
Shivakumar 2013-8-12
scatter(COEFF) where COEFF is a 2*2 matrix

请先登录,再进行评论。

采纳的回答

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

更多回答(1 个)

mojtaba najibifar
mojtaba najibifar 2013-8-12
hi can you send to me your code?

类别

Help CenterFile Exchange 中查找有关 Scatter Plots 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by