695 Downloads
Updated
5 Jul 2005
No License
Normalize an N-dimensional tensor along a given axis using the L2 (euclidean) norm.
A simple example where N=2 that illustrates what this means:
Input: [ 3 5 ]
[ 4 12]
Let's say we want to normalize along the 2nd dimension.
Normalization = [ 5 13 ]
Normalized Output = [ 3/5 5/13 ]
[ 4/5 12/13]
Cite As
Barun Singh (2026). axisL2norm (https://www.mathworks.com/matlabcentral/fileexchange/7958-axisl2norm), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R14
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Mathematics > Sparse Matrices >
Find more on Sparse Matrices in Help Center and MATLAB Answers
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 |
