na-lab-power

Version 1.0.0 (1.11 KB) by Akshay
code
0 Downloads
Updated 14 Nov 2022

View License

clc;
A=input("Enter matrix ");
v=input("enter initial guess matrix ");
n=input("No of iterations ");
e=input("enter tolerance");
v0=v;
for i=1:n
v=A*v0;
M=max(B);
v=v/M;
if abs(v0-v)<e
break;
end
v0=v;
end
disp(B);

Cite As

Akshay (2024). na-lab-power (https://www.mathworks.com/matlabcentral/fileexchange/120408-na-lab-power), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2022b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

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