x = 2:1:25;y = x^2;z = 1:1:28;plot(z,x)
MATLAB: I have a problem with plotting two vectors, I want to vary ‘z’ by a certain amount and ‘x’ by another amount and plot versus each other, how can i make the matrix dimensions match
dimensionplot
dimensionplot
x = 2:1:25;y = x^2;z = 1:1:28;plot(z,x)
Best Answer