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

2 次查看(过去 30 天)
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.

回答(2 个)

Carlos
Carlos 2013-12-17
编辑:Carlos 2013-12-17
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 2013-12-17
编辑:Azzi Abdelmalek 2013-12-17

类别

Help CenterFile Exchange 中查找有关 Numeric Types 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by