MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi
Learn moreOpportunities for recent engineering grads.
Apply TodayMATLAB Central > MATLAB Newsreader > find zeros and replace with NaN 

I have this matrix and I want to find all the zeros and change them to NaNs. 
Subject: find zeros and replace with NaN From: Husam Aldahiyat Date: 4 Apr, 2011 16:32:04 Message: 2 of 10 
"jonathan " <senator314159@hotmail.com> wrote in message <incrgo$imf$1@fred.mathworks.com>... 
Subject: find zeros and replace with NaN From: Florin Neacsu Date: 4 Apr, 2011 16:49:05 Message: 3 of 10 
"jonathan " <senator314159@hotmail.com> wrote in message <incrgo$imf$1@fred.mathworks.com>... 
"Florin Neacsu" <fneacsu2@gmail.com> wrote in message <incsq1$bor$1@fred.mathworks.com>... 
Subject: find zeros and replace with NaN From: Florin Neacsu Date: 4 Apr, 2011 18:40:19 Message: 5 of 10 
"jonathan " <senator314159@hotmail.com> wrote in message <ind22p$c98$1@fred.mathworks.com>... 
"Florin Neacsu" <fneacsu2@gmail.com> wrote in message <incsq1$bor$1@fred.mathworks.com>... 
Subject: find zeros and replace with NaN From: Florin Neacsu Date: 4 Apr, 2011 19:08:07 Message: 7 of 10 
"Matt J" wrote in message <ind44c$j3g$1@fred.mathworks.com>... 
"Matt J" wrote in message <ind44c$j3g$1@fred.mathworks.com>... 
Subject: find zeros and replace with NaN From: Bruno Luong Date: 11 Jan, 2013 07:02:09 Message: 9 of 10 
> 
Subject: find zeros and replace with NaN From: TideMan Date: 11 Jan, 2013 08:05:53 Message: 10 of 10 
On Friday, January 11, 2013 8:02:09 PM UTC+13, Bruno Luong wrote: 
A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.
Anyone can tag a thread. Tags are public and visible to everyone.