What should be the plot command?
Show older comments
deltaSignal = abs(testSignal - referenceSignal);
percentageDifference = deltaSignal ./ referenceSignal; % Percent by element.
meanPctDiff = mean(percentageDifference); % Average percentage over all elements
If you can please tell me how does the plot command looks like for the code above.
1 Comment
Mischa Kim
on 30 Jan 2014
What exactly do you want to plot and how?
Accepted Answer
More Answers (1)
Azzi Abdelmalek
on 30 Jan 2014
Read the documentation about plot
doc plot
Look at this example
t=0:0.01:10
y1=sin(t)
y2=cos(t)
plot(t,y1,t,y2)
Categories
Find more on Multirate Signal Processing 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!