Syntax::::power2(a,b)
where,
a=base
b=exponent
Matlab function power's result if more than 9 digits,give the
result as in exp.(e) terms.This power2 gives the result
to as much digits as is the exact answer.
This program calculates the power of any number with any exponent
to show the answer with all digits.
Divakar Roy (2021). POWER2:Calculates the power of any no. with any exponent to give exact answer with all digits (https://www.mathworks.com/matlabcentral/fileexchange/8029-power2-calculates-the-power-of-any-no-with-any-exponent-to-give-exact-answer-with-all-digits), MATLAB Central File Exchange. Retrieved .
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Create scripts with code, output, and formatted text in a single executable document.