help-octave
[Top][All Lists]
Advanced

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

Re: recreate array original


From: Nicholas Jankowski
Subject: Re: recreate array original
Date: Thu, 1 Aug 2019 14:23:12 -0400


On Thu, Aug 1, 2019 at 2:07 PM Nir Krakauer <address@hidden> wrote:
d = a .* (a > 3)


turbofib, 

recommend you look at what the individual parts of Nir's suggestion do.  it's a combination of logical indexing and elementwise operations.  Also recommend you look up some tips on array, linear, and logical indexing.  see:  https://www.mathworks.com/company/newsletters/articles/matrix-indexing-in-matlab.html
 

reply via email to

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