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

34 Ansichten (letzte 30 Tage)
C Zeng
C Zeng am 12 Mär. 2013
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.

Akzeptierte Antwort

Azzi Abdelmalek
Azzi Abdelmalek am 12 Mär. 2013
  7 Kommentare
Walter Roberson
Walter Roberson am 12 Mär. 2013
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 am 12 Mär. 2013
Oh, OK, Walter. But theoretically, it can be faster.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by