Plotting few lines using one matrix
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Let's say I have two matrices x and y
x = [1 2 3 1 2] y = [1 2 3 1 3]
I want to plot two lines from it, first three points and then two last points.
In the end I want to get this plot. Can I do it with Matlab?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/147503/image.png)
0 comentarios
Respuesta aceptada
Más respuestas (0)
Ver también
Categorías
Más información sobre Line Plots en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!