Horizontal constant line plot

3 visualizaciones (últimos 30 días)
Trevor Badji
Trevor Badji el 28 de Dic. de 2017
Comentada: Neptune16 el 29 de Sept. de 2019
I am using plot(1:3600,ones .* 78) 'it gives empty plot' this to plot a horizontal line for y axis is consant 78, x axis is from 1 to 3600 . Or is there another command to plot it .

Respuestas (1)

Image Analyst
Image Analyst el 28 de Dic. de 2017
ones() is a function that takes arguments. You are not giving any. What do you want to plot for your y values?
  1 comentario
Neptune16
Neptune16 el 29 de Sept. de 2019
hello and good day,sir. can you please help me out with my latest question in my profile. very much thanks in advance.

Iniciar sesión para comentar.

Categorías

Más información sobre MATLAB en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by