Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

Plot, Expression or statement is incorrect--possibly unbalanced (, {, or [.

1 visualización (últimos 30 días)
Gary
Gary el 18 de Nov. de 2014
Cerrada: MATLAB Answer Bot el 20 de Ag. de 2021
%plot graphs
hold on
plot(wt,m,'b')
xlabel('Time (s)')
ylabel('Torque (Nm)')
The error is showing for the ylabel line
  3 comentarios
Chad Greene
Chad Greene el 18 de Nov. de 2014
I suspect the problem is actually somewhere else in your code. An unterminated parentheses or bracket can confuse Matlab regarding where exactly the problem is.
Image Analyst
Image Analyst el 18 de Nov. de 2014
I bet you retyped your code into your question. Copy and paste the code instead. Take several lines before also. Most likely the problem occurs several lines above.

Respuestas (0)

La pregunta está cerrada.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by