How can I use corrcoef command?
7 views (last 30 days)
Show older comments
Hello.
I generated two signal.
t = 1:0.01:1.5; y1 = sin(2*pi*t3) y2 = y1 y3 = 2*y1
y1 and y2 are same signal, y1 and y3 are not same.
I want find similarity of signals between y1 and y2, y1 and y3.
so I use corrcoef command
*R = corrcoef(y1,y2);
R2 = corrcoef(y1,y3);*
R(1,0) value is "1" .
I predicted this output. correct.
But and R2(1,0) are "1" too....!
I want to distinguish between the two signals.
What should I do?
Have a good day.
0 Comments
Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!