plotting an array with random numbers

조회 수: 51 (최근 30일)
Muhammad Haziq
Muhammad Haziq 2018년 11월 2일
편집: madhan ravi 2018년 11월 2일
I want to plot an array with the random numbers. I wrote a code but it's not working can anybody help me. I am attachıng pic of my code.
  댓글 수: 2
Muhammad Haziq
Muhammad Haziq 2018년 11월 2일
Thanks madhan ravi for your reply. I have another question actually instead of using random numbers array I have taken some time stamps data which is composed of either "0" or "5" now I want to plot them. I was using the same approach which I mentioned earlier but I was unable to plot them could you identify problem in my approach.
madhan ravi
madhan ravi 2018년 11월 2일
편집: madhan ravi 2018년 11월 2일
@Muhammad to be frank I don’t have any experience with plotting timestamps sorry

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

채택된 답변

madhan ravi
madhan ravi 2018년 11월 2일
plot(rand(10,1))

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Line Plots에 대해 자세히 알아보기

제품


릴리스

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by