Borrar filtros
Borrar filtros

plot(x)

3 visualizaciones (últimos 30 días)
manu vincent
manu vincent el 6 de Dic. de 2020
Respondida: Cris LaPierre el 6 de Dic. de 2020
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.

Respuestas (1)

Cris LaPierre
Cris LaPierre el 6 de Dic. de 2020
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.

Categorías

Más información sobre Matched Filter and Ambiguity Function en Help Center y File Exchange.

Productos


Versión

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by