필터 지우기
필터 지우기

plot(x)

조회 수: 3 (최근 30일)
manu vincent
manu vincent 2020년 12월 6일
답변: Cris LaPierre 2020년 12월 6일
what happens if i write just plot(x) aginst a product of an equation like x=a*b. will it work or will it show error like no y axis specified. I used something like this to plot an x and y functions. I accidently forgot to write the y axis values in my code and to my surprise it showed the correct plot. instead the values i needed in the x axis it showed some huge numbers like in the order of 10^6.

답변 (1개)

Cris LaPierre
Cris LaPierre 2020년 12월 6일
If you don't pass in two inputs, it will assume the input is the y values, and will plot them against their index number. You can read more in the documentation.

카테고리

Help CenterFile Exchange에서 Matched Filter and Ambiguity Function에 대해 자세히 알아보기

제품


릴리스

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by