ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

principal component analysis in LabVIEW

Has anyone used Principal Component Analysis or related multivariate statistics procedures in LabVIEW and would you be willing to share your code with me?
I know the central part in the PCA is getting the Eigenvectors and Eigenvalues, which is done by a standard VI in LabVIEW. For me it is the surrounding bits of the code (doing the projections to compute the components and loadings, rotations etc that matters.
0 Kudos
Message 1 of 8
(5,840 Views)
I have a degree in Math and used PCA in school. I have not seen a PCA VI nor could I find one on NI's website. I would be interested in the code as well but it may be that you will have to write it yourself. Try looking online for an algorithm--this will really take the work out of the coding.

Jeremy
0 Kudos
Message 2 of 8
(5,840 Views)
Thanks Jeremy. Indeed I wrote my own, basic PCA-vi using the supplied LabVIEW eigenvalue/vector vi. It would be nice however to add the various rotations of the components (varimax etc.) to this algorithm, and it is just a hassle having to re-write this all in LabVIEW. Could I persuade Nat.Inst. or anyone else to extend the multivariate statistics module in LabVIEW, offering the whole range from simple ANOVA's, to cluster analysis, factor analysis and discriminant analysis?
Cheers, Peter
0 Kudos
Message 3 of 8
(5,840 Views)
Peter- I work at the National Institutes of Health, and I have a mad scientist here that would like for me to do spike analysis with PCA. I have a mathematician here I can use to help me write the algorithm, but i was wondering if you would you be willing to let me see [have] your code? Thanks, George
0 Kudos
Message 4 of 8
(5,840 Views)
Please post the results of this discussion here if you can. I am interested in using PCA to do Proton Beam Analysis, and would like to use your VI's, whatever state they might be in.

Thanks

Eugene
0 Kudos
Message 5 of 8
(5,840 Views)
hi,i'm from school of physic, University Science of Malaysia. i want to use PCA for data recognition in my research. can you give to me your solution in PCA? i mean your code. maybe i can use it much in my program. i have problem with it. please....i can find any solution till now.
0 Kudos
Message 6 of 8
(5,840 Views)
Hi George, Sorry for the delay (you might have found another solution in the mean time). I need to dig this one out: watch this space. Peter
0 Kudos
Message 7 of 8
(5,840 Views)
Hi, my name is Adam Day, i am a student at glasgow university. i am trying to encode labview for principal component analysis to help separate the flourescence of drug samples from the flourescence of the paper discs onto which they have been impregnated. i have managed some of the basic stuff but encoding the matrix has me stumped. can i please see someone's code for PCA with labview?
thank you
0 Kudos
Message 8 of 8
(5,840 Views)