plotting an array with random numbers

15 次查看(过去 30 天)
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 中查找有关 Logical 的更多信息

产品


版本

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by