How can I compare two data sets according to their amplitudes?
Show older comments
Hi, I have two data sets like;
X=[13 20 24 12 6 7 45 21 11 11]
Y=[12 24 23 10 4 8 20 27 9 13]
and I want to compare them according to the their amplitudes.
How can I do it?
Thanks for your helps.
Answers (2)
I know some operators as setdiff, union, intersection... or you can do: length(x)==length(y), length(x)<length(y), length(x)>length(y), or x>y, x<y, x==y. It depends what you want.
Azzi Abdelmalek
on 17 Dec 2013
Edited: Azzi Abdelmalek
on 17 Dec 2013
sign(X-Y)
Categories
Find more on Simulink 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!