how do we make vector the same length ( i get the error: vector must be the same length)
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
x=linspace(0,100);
y=linspace(0,100);
z=(-8.*x)/(x.^2+ y.^2 +1);
plot3(x,y,z)
0 comentarios
Respuestas (1)
the cyclist
el 7 de Oct. de 2021
Editada: the cyclist
el 7 de Oct. de 2021
x=linspace(0,100);
y=linspace(0,100);
z=(-8.*x)./(x.^2+ y.^2 +1); % Note that I changed this to ./
plot3(x,y,z)
0 comentarios
Ver también
Categorías
Más información sobre Matrix Indexing 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!