from Vectorized Safe Reciprocal by Marc Compere
Accepts an input array and returns reciprocals of individual elements without divide-by-zero errors.

All files for Vectorized Safe Reciprocal
/safe_vector_reciprocal.mdl

Contact us at files@mathworks.com