Find overlap percentage of two plots
I am trying to find the percentage of points that overlap in two stem plots. I saw an answer on here using the mean to compare this, but I want to know overlap not average. How would I go about doing this for a simple plot.
ex:
input_signal = sin(2*pi*100*t) + sin(2*pi*300*t);
output_signal = FiltBank(input_signal);
Thank you for your time!I am trying to find the percentage of points that overlap in two stem plots. I saw an answer on here using the mean to compare this, but I want to know overlap not average. How would I go about doing this for a simple plot.
ex:
input_signal = sin(2*pi*100*t) + sin(2*pi*300*t);
output_signal = FiltBank(input_signal);
Thank you for your time! I am trying to find the percentage of points that overlap in two stem plots. I saw an answer on here using the mean to compare this, but I want to know overlap not average. How would I go about doing this for a simple plot.
ex:
input_signal = sin(2*pi*100*t) + sin(2*pi*300*t);
output_signal = FiltBank(input_signal);
Thank you for your time! plot, compare MATLAB Answers — New Questions