Re: Deleting ALL rows of [1,1,1]




"Matt Fig" <spamanon@xxxxxxxxx> wrote in message
news:g9a2ce$4me$1@xxxxxxxxxxxxxxxxxxxxx
A(ismember([1,1,1], A, 'rows'),:) = [];




I believe that should be:


A(ismember(A,[1,1,1], 'rows'),:) = [];


Also it is faster to do:


A(all(A'==1)',:)=[];

But the Walter's fp warning still applies.


The ALL function can take a second argument for testing along a specific
dimension, so you can get rid of the two transpose operations also.

A(all(A==1, 2), :) = [];


.



Relevant Pages

  • Re: Trial Expired Warning With OEM office installed.
    ... I dont need to uninstall office, I just need to get rid of the trial warning. ... OEM version with the same results. ...
    (microsoft.public.office.misc)
  • Re: "Your computer has been infected with malware" windows update
    ... removers and most of them come back clean or have removed the stuff they ... now how do I get rid of this warning. ... > Use noahdfear's SmitFraud and SpyAxe removal tool -- SmitRem.exe ...
    (microsoft.public.windowsxp.perform_maintain)
  • 0% available RIDs in the current pool
    ... I let the 2nd DC offline too long. ... REPLICATION-RECEIVED LATENCY WARNING ... sbspmenet.PMENET.local is the RID Master ... Warning:Next rid pool not allocated ...
    (microsoft.public.windows.server.active_directory)
  • Re: Avoiding warnings about generics: 2 questions
    ... it still doesn't solve my original problem: ... you /can/ get rid of the warning by changing the cast from o1 ... properly genericsify the whole thing, or decide that you want/need the old ...
    (comp.lang.java.programmer)
  • Re: Setup for unexposed-to-internet domain.
    ... I got rid of every single warning now. ... What they mean and how can I get rid of them? ... MS DTC could not correctly process a DC Promotion/Demotion event. ... ntinue to function and will use the existing security settings. ...
    (microsoft.public.windows.server.setup)