Rank: 5362 based on 16 downloads (last 30 days) and 1 file submitted
photo

Qiaonan Duan

E-mail
Company/University
MSSM

Personal Profile:

fdafa


 

Watch this Author's files

 

Files Posted by Qiaonan Duan
Updated   File Tags Downloads
(last 30 days)
Comments Rating
11 Jun 2013 Screenshot Nipals algorithm for Principle Component Analysis This function is written largely based on nipals function from R chemometrics package. Author: Qiaonan Duan nipals, principal component a..., pca, coordinates transform..., biotech 16 7
  • 3.0
3.0 | 1 rating
Comments and Ratings by Qiaonan Duan View all
Updated File Comments Rating
15 Jul 2013 Nipals algorithm for Principle Component Analysis This function is written largely based on nipals function from R chemometrics package. Author: Qiaonan Duan

That's weird. There is no recursion in this function. You can send your data and script to me: zfrlender@gmail.com
I will check that for you.

15 Jul 2013 Nipals algorithm for Principle Component Analysis This function is written largely based on nipals function from R chemometrics package. Author: Qiaonan Duan

Is it possible you run it as a script while it is a function. X is the input matrix.

Try:
X = rand(5);
nipals(X,2);

See if it gives you some result.

12 Jul 2013 Nipals algorithm for Principle Component Analysis This function is written largely based on nipals function from R chemometrics package. Author: Qiaonan Duan

Hi could you give me the error message?
Line 33 is [obsCount,varCount] = size(X);
I cannot see there is any error here.

Comments and Ratings on Qiaonan Duan's Files View all
Updated File Comment by Comments Rating
17 Feb 2014 Nipals algorithm for Principle Component Analysis This function is written largely based on nipals function from R chemometrics package. Author: Qiaonan Duan Eirik

It looks to be a bug on line 37 (pcvar = zeros(varCount,1);). Change to (pcvar = zeros(a,1);) to get the correct size of pcvar (number of elements in pcvar should be equal number of desired components).

15 Jul 2013 Nipals algorithm for Principle Component Analysis This function is written largely based on nipals function from R chemometrics package. Author: Qiaonan Duan Qiaonan Duan

That's weird. There is no recursion in this function. You can send your data and script to me: zfrlender@gmail.com
I will check that for you.

15 Jul 2013 Nipals algorithm for Principle Component Analysis This function is written largely based on nipals function from R chemometrics package. Author: Qiaonan Duan Shivakumar

This is the message I got:
???Maximum recursion limit of 750 reached. Use set(0,'RecursionLimit',N)
to change the limit. Be aware that exceeding your available stack space can
crash MATLAB and/or your computer.

Error in ==> nipals

15 Jul 2013 Nipals algorithm for Principle Component Analysis This function is written largely based on nipals function from R chemometrics package. Author: Qiaonan Duan Qiaonan Duan

Is it possible you run it as a script while it is a function. X is the input matrix.

Try:
X = rand(5);
nipals(X,2);

See if it gives you some result.

15 Jul 2013 Nipals algorithm for Principle Component Analysis This function is written largely based on nipals function from R chemometrics package. Author: Qiaonan Duan Shivakumar

This is the error.
??? Input argument "X" is undefined.

Error in ==> nipals at 33
[obsCount,varCount] = size(X);

Contact us