Hello everyone. I have a long-standing problem, how to calculate the similarity between the two curves that have been fitted. Thank you for your enthusiastic answers.
1 次查看(过去 30 天)
显示 更早的评论
corrcoef(f1,f2)
corr2(f1,f2)
4 个评论
Steven Lord
2021-1-23
What is your definition of "similarity"? Is x1 more similar to x2 or x3? Why?
x1 = 1:5
x2 = x1 + 1
x3 = [1:4 7]
How about x4?
x4 = x1 + (-0.5:0.25:0.5)
What's most simlar to the black line in the plot below? The cyan with upward pointing triangles, the green with downward pointing triangles, or the magenta with rightward pointing triangles?
plot(x1, x1, 'k-+', x1, x2, 'c-^', x1, x3, 'g-v', x1, x4, 'm->')
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Smoothing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!