필터 지우기
필터 지우기

Error in scatter program

조회 수: 8 (최근 30일)
Shivakumar
Shivakumar 2013년 8월 12일
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