MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi
Learn moreOpportunities for recent engineering grads.
Apply TodayMATLAB Central > MATLAB Newsreader > sum of exponentials 

I have a matrix whose data are interrupted by sequences of zeros. I need every time that there's a zero value to substitute it with a sum of exponentials using the previous data, eg: 
"dwi" wrote in message <k8l6sb$2fj$1@newscl01ah.mathworks.com>... 
"Roger Stafford" wrote in message <k8lqar$4po$1@newscl01ah.mathworks.com>... 
"dwi" wrote in message <k8o2mg$pdp$1@newscl01ah.mathworks.com>... 
"dwi" wrote in message <k8o3vo$ia$1@newscl01ah.mathworks.com>... 
"dwi" wrote in message <k8o5ro$6ae$1@newscl01ah.mathworks.com>... 
"dwi" wrote in message <k8o3vo$ia$1@newscl01ah.mathworks.com>... 
"Roger Stafford" wrote in message <k8onag$2kt$1@newscl01ah.mathworks.com>... 
"dwi" wrote in message <k8qlsv$ktj$1@newscl01ah.mathworks.com>... 
"Roger Stafford" wrote in message <k8r036$nn7$1@newscl01ah.mathworks.com>... 
No tags are associated with this thread.
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.