I don't get plot in matlab
Show older comments
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
Accepted Answer
More Answers (2)
Walter Roberson
on 27 Feb 2012
1 vote
All of your plotting commands are commented out.
2 Comments
Janet
on 27 Feb 2012
Walter Roberson
on 27 Feb 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.
Categories
Find more on Annotations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!