I don't get plot in matlab

2 visualizaciones (últimos 30 días)
Janet
Janet el 27 de Feb. de 2012
len=128;
m=4;
msg1=randint(len,1,m);
msg2=randint(len,1,m);
% figure(1)
% stem(data_source);
% grid on;
% xlabel('data points')
% ylabel('transmitted data phase representation')
% title('Transmitted Data "O"')
WHy i don't get plot representation in my matlab

Respuesta aceptada

j_solar
j_solar el 27 de Feb. de 2012
Eliminate the % from all your plotting commands
  1 comentario
Janet
Janet el 27 de Feb. de 2012
thank you..i get it now:)

Iniciar sesión para comentar.

Más respuestas (2)

Walter Roberson
Walter Roberson el 27 de Feb. de 2012
All of your plotting commands are commented out.
  2 comentarios
Janet
Janet el 27 de Feb. de 2012
i don't get what u say
Walter Roberson
Walter Roberson el 27 de Feb. de 2012
% is the character that indicates that everything to the end of the line is to be treated as a comment. Nearly all of your lines were commented out, turned in to in-active text for the programmer's reading pleasure rather than something the computer is intended to execute.

Iniciar sesión para comentar.


zozo
zozo el 27 de Feb. de 2012
what is 'data source'?
stem(msg1);
stem(msg2);
  1 comentario
Janet
Janet el 27 de Feb. de 2012
I changed...but still i don't get...i am not getting error
But i don't get plot...when i try in other pc's, i get...should i change any settings?

Iniciar sesión para comentar.

Categorías

Más información sobre Get Started with MATLAB en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by