elementwise power
Version 1.0.0.0 (1.46 KB) by
Kenneth Johnson
more efficient than MATLAB's power function
pwr(x,p) is equivalent to x.^p, but more efficient for scalar, integer or half-integer p. (x is assumed to be non-sparse.)
Cite As
Kenneth Johnson (2024). elementwise power (https://www.mathworks.com/matlabcentral/fileexchange/44574-elementwise-power), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2013a
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |