From: megha bhagat on
Hey

i need help regrading a pseudo code or source code for a function caled K-L expansion that should take data matrix as its first argument with data in columns and should have feature values, eigenvectors and eigenvalues as its first three output. As i am new to matlab so i have no idea how to go about this.

thnx
From: pipa on
"megha bhagat" <bhagatmegha5(a)gmail.com> wrote in message <hogmgs$rll$1(a)fred.mathworks.com>...
> Hey
>
> i need help regrading a pseudo code or source code for a function caled K-L expansion that should take data matrix as its first argument with data in columns and should have feature values, eigenvectors and eigenvalues as its first three output. As i am new to matlab so i have no idea how to go about this.
>
> thnx

If u just need to find eigenvalues and eigenvectors...then use eig function of matlab.

help eig
From: Puneet on
"pipa " <balwindersingh(a)gmail.com> wrote in message <hogp8v$9im$1(a)fred.mathworks.com>...
> "megha bhagat" <bhagatmegha5(a)gmail.com> wrote in message <hogmgs$rll$1(a)fred.mathworks.com>...
> > Hey
> >
> > i need help regrading a pseudo code or source code for a function caled K-L expansion that should take data matrix as its first argument with data in columns and should have feature values, eigenvectors and eigenvalues as its first three output. As i am new to matlab so i have no idea how to go about this.
> >
> > thnx
>
> If u just need to find eigenvalues and eigenvectors...then use eig function of matlab.
>
> help eig

Ok.. but.. for function K-L expansion.. we need a function thts has to be orthogonal in an interval....wat about tht function.. can we take any stochastic process.. or we need anny specific one..
From: ImageAnalyst on
Well how about this:
http://www.bing.com/search?q=karhunen-loeve+MATLAB&go=&form=QBRE&qs=n