How to draw plot with just one variable
显示 更早的评论
Hello, I have one quick question. I have one variable which is an vertical array and 'y' of my desired plot. The size of it is as of now 39x1 but it can vary from what are the conditions of simulation. I would like to plot it but I have only the span of my 'x' axis (eg. 0:myothervariable(end)). So how do I create variable that contains values within desired span of my 'x' axis yet it remains the same size as the 'y' variable so I can plot it.
Thank you for your help!
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Surface and Mesh Plots 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!