About Cacher
Web App
Download
Sign In
Sign Up
menu
Cacher is the code snippet organizer for pro developers
We empower you and your team to get more done, faster
Learn More
arunreddy
10/21/2015 - 2:32 AM
share
Share
add_circle_outline
Save
Replacing negative values with zeroes.
Replacing negative values with zeroes.
splitPosAndNeg.jl
content_copy
file_download
a = [1 -2 ; -3 4]; aPos = (a.>0.0).*a; aInd = (a.<0.0).*a*-1;
clear