How to draw plot with just one variable
Ältere Kommentare anzeigen
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!
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Surface and Mesh Plots finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!