Problem with plotting
Problem with plotting
(OP)
Hello to everyone,
I an amateur user of Matlab and I want your help.
I want to plot a figure like the one of the jpg which I have attached to post.I used the function plot but the graph is depicted not with continous lines parrallel to the x-axis but with discrete points.How can I draw such a figure?
(considering that I have insert to code some samples manually)
I am looking forward for your reply.
Thank you!
Manos
I an amateur user of Matlab and I want your help.
I want to plot a figure like the one of the jpg which I have attached to post.I used the function plot but the graph is depicted not with continous lines parrallel to the x-axis but with discrete points.How can I draw such a figure?
(considering that I have insert to code some samples manually)
I am looking forward for your reply.
Thank you!
Manos





RE: Problem with plotting
plot(t,signal,'r-') % a red line, not points
RE: Problem with plotting
RE: Problem with plotting
(1) my code
(2) the desired output pattern
(3) the output from the code I wrote
If you can help again I'll be very happy about this, because is a critical project for me!
Thanks again!