Can any one please tell why I am not getting the proper plot?

조회 수: 1 (최근 30일)
Gaurav Sharma
Gaurav Sharma 2018년 12월 3일
답변: Aoi Midori 2018년 12월 3일
I am trying to run the code but the plot I am getting different. The figure 2 in the code, the plot has x axis from 1-9 and y axis from -1 to 1. But the values of the XADJUSTEDn and YADJUSTEDn are varying between -1 to1 similarly the value of V is also vaying between -1 to 1. Then why My plot is showing x axis 1-9.
the code is given below.
pic.png

채택된 답변

Aoi Midori
Aoi Midori 2018년 12월 3일
I assume that the x axis 1-9 shows the number of column. How about:
plot(X,Y,'+');

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by