why wont this simple plot work ?
Mostrar comentarios más antiguos
n =10;
t = zeros(1:n);
pa = zeros(1:n);
tf = 120;
for i = 1:n
t(i) = (i-1)*tf/(n-1);
pu(i) = pini*tv/(380 + wf*t(i)/60);
end
plot(t,pa);
I get the error :
Error using plot
Data cannot have more than 2 dimensions.
Thanks
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre 2-D and 3-D Plots en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!