MATLAB Answers

plotting an array with random numbers

64 views (last 30 days)
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 Comments

Muhammad Haziq
Muhammad Haziq on 2 Nov 2018
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 on 2 Nov 2018
@Muhammad to be frank I don’t have any experience with plotting timestamps sorry

Sign in to comment.

Accepted Answer

madhan ravi
madhan ravi on 2 Nov 2018
plot(rand(10,1))

  0 Comments

Sign in to comment.

More Answers (0)

Sign in to answer this question.

Products


Release

R2017b