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 .

답변 (1개)

Image Analyst
Image Analyst 2017년 12월 28일

1 개 추천

ones() is a function that takes arguments. You are not giving any. What do you want to plot for your y values?

댓글 수: 1

Neptune16
Neptune16 2019년 9월 29일
hello and good day,sir. can you please help me out with my latest question in my profile. very much thanks in advance.

댓글을 달려면 로그인하십시오.

카테고리

질문:

2017년 12월 28일

댓글:

2019년 9월 29일

Community Treasure Hunt

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

Start Hunting!

Translated by