Is there a command of "not less than or equal to " to vectors?

조회 수: 34 (최근 30일)
C Zeng
C Zeng 2013년 3월 12일
Hi, want to know if there is a command can compare if two vectors a is not <=b? Now I use while sum(le(a,b))~=N while N is the size of vector. However it is very inconvenient.
Thanks.

채택된 답변

Azzi Abdelmalek
Azzi Abdelmalek 2013년 3월 12일
  댓글 수: 7
Walter Roberson
Walter Roberson 2013년 3월 12일
No there isn't.
If I recall correctly, someone did submit a MEX routine to do vector comparisons, but unfortunately I cannot seem to locate it at the moment.
C Zeng
C Zeng 2013년 3월 12일
Oh, OK, Walter. But theoretically, it can be faster.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Linear Algebra에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by