Fixed-Point Iteration Numerical Method
% Inputs: with examples
% AF = anonymous function equation: AF = @(x) 1-((20^2)./(9.81*(((3*x)+((x.^2)/2)).^3))).*(3+x);
% xi = initial guess x = xR, where xR = x root: xi = 0.5;
% ed = desired approximate relative error = |(current - previous)/current|: ed = 0.01;
% Outputs
% xR = x root
% err = approximate relative error
% n = number of iterations
% xRV = x root vector
% errV = approximate relative error vector
% AFD1 = anonymous function 1st derivative
% AFD2 = anonymous function 2nd derivative
Cite As
Roche de Guzman (2026). Fixed-Point Iteration Numerical Method (https://uk.mathworks.com/matlabcentral/fileexchange/61699-fixed-point-iteration-numerical-method), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- Code Generation > Fixed-Point Designer > Fixed-Point and Floating-Point Basics > Data Type Conversion and Casting >
- FPGA, ASIC, and SoC Development > Fixed-Point Designer > Fixed-Point and Floating-Point Basics > Data Type Conversion and Casting >
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
