How can I compare two data sets according to their amplitudes?

1 view (last 30 days)
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)

Carlos
Carlos on 17 Dec 2013
Edited: Carlos on 17 Dec 2013
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
Azzi Abdelmalek on 17 Dec 2013
Edited: Azzi Abdelmalek on 17 Dec 2013

Categories

Find more on Numeric Types in Help Center and File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!