Dear community,

Why can't I plot such an easy graph?

`for i = 1:100 x(1,:) = 1 + 2*i; y(1,:) = 3 + i;endplot(x,y)`

I have two arrays, how can I plot this?

Thanks in advance

Skip to content# MATLAB: Can’t I plot such an easy graph

###### Related Question

cell arrayplot

Dear community,

Why can't I plot such an easy graph?

`for i = 1:100 x(1,:) = 1 + 2*i; y(1,:) = 3 + i;endplot(x,y)`

I have two arrays, how can I plot this?

Thanks in advance

- How can I plot an array by array
- Finding root using bysection method (error)
- Draw a matrix image of blood vessel
- Plot doesn’t show anything
- How to change plot marks with each step
- How to close the extra legend added by comet fun
- Plotting Temperature profile as a function of x,y and z.
- I got an error when i run this code

## Best Answer