How can I compare two data sets according to their amplitudes?
이전 댓글 표시
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개)
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
2013년 12월 17일
편집: Azzi Abdelmalek
2013년 12월 17일
sign(X-Y)
카테고리
도움말 센터 및 File Exchange에서 Tables에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!