No BSD License  

Highlights from
axisL2norm

Be the first to rate this file! 0 Downloads (last 30 days) File Size: 365 Bytes File ID: #7958

axisL2norm

by Barun Singh

 

01 Jul 2005 (Updated 05 Jul 2005)

Normalize a tensor along a given dimension.

| Watch this File

File Information
Description

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]

MATLAB release MATLAB 7 (R14)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
norm Barun Singh 22 Oct 2008 07:52:06
l2 Barun Singh 22 Oct 2008 07:52:06
euclidean Barun Singh 22 Oct 2008 07:52:06
axis norm Barun Singh 22 Oct 2008 07:52:06

Contact us at files@mathworks.com