How to draw plot with just one variable
Show older comments
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!
Accepted Answer
More Answers (0)
Categories
Find more on Surface and Mesh Plots in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!