help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re:


From: Nicholas Jankowski
Subject: Re:
Date: Fri, 7 Dec 2018 09:47:13 -0500

On Fri, Dec 7, 2018 at 9:24 AM Richardson, Anthony <address@hidden> wrote:

A(find(A == 10)) = 0;

 

Or, more directly using logical indexing,

 

A(A == 10) = 0;

 


different indexing schemes can be very powerful ways of manipulating and processing your data. I recommend you read:

https://octave.org/doc/v4.2.2/Index-Expressions.html
and
https://octave.org/doc/v4.2.2/Advanced-Indexing.html#Advanced-Indexing

reply via email to

[Prev in Thread] Current Thread [Next in Thread]