Azzera filtri
Azzera filtri

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

2 visualizzazioni (ultimi 30 giorni)
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.

Risposte (2)

Carlos
Carlos il 17 Dic 2013
Modificato: Carlos il 17 Dic 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 il 17 Dic 2013
Modificato: Azzi Abdelmalek il 17 Dic 2013

Categorie

Scopri di più su Numeric Types in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by