RECI:Calculates the reciprocal of a number with desired accuracy

Reciprocal calculation giving answer with as much decimal digits as is wished.
1.8K Downloads
Updated 23 Sep 2005

View License

This function calculates the exact reciprocal of any number,with as much decimal digits as you wish.

Syntax:::::
reci(a,b)
where a is the number whose reciprocal is to be calculated and b is the max. no. of decimal digits you want in the answer

Cite As

Divakar Roy (2024). RECI:Calculates the reciprocal of a number with desired accuracy (https://www.mathworks.com/matlabcentral/fileexchange/8519-reci-calculates-the-reciprocal-of-a-number-with-desired-accuracy), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R13
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0

bugs pointed out by 'Jos van' are removed.