Click here to Skip to main content
15,915,042 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
can anybody convert the following code from MatLab to C.?????
please help me out to solve the following.
thanks in advance......

%ICA START
data1=[a;b;c];
MEANMAT=repmat(mean(data1')',1,length(data1));
c1=cov(data1');
[T1,E1]=eig(c1);
data2=T1'*(data1-MEANMAT);
%data2=T1*(data1);
c2=cov(data2');
[T2,E2]=eig(c2);
data=E2^(-1/2)*data2;
T=E2^(-1/2)*T1;
c=cov(data');
Posted
Comments
Kenneth Haugland 2-Apr-13 3:54am    
Do you have a licenced version of Matlab? If so you could eesily get the functions code of the individual components.

1 solution

Hi,
I think Lapack library can help you.
Best regards.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900