File Exchange

image thumbnail

PCA demonstration example

version 1.0.0.0 (2.02 KB) by Yang Zhang
PCA application example on statistical process control

1 Download

Updated 24 Sep 2007

No License

This file is used to explain how PCA works and the idea behind the method. This example is given in the ISA book: New directions in Bioprocess Modeling and Control by Michael A. Boudreau and Gregory K. McMillan(Chapter 8, simple example). The process is composed of a valve a thermometer and a fermenter. The valve is used to control the flow rate of cooling water. The thermometer is used to measure the temperature of the fermenter. The steady state of the system is: valve=10% max. Temperature T=25 D.

Comments and Ratings (8)

Prakash

Undefined function 'ellipse' for input arguments of type 'double'.

please tell us how to solve this?

Shivani Rao

rafael pinheiro

very good... great work

mira sam

tigre vengala

muchas gracias gran ejemplo!!! felicitaciones!!

harith hamad

Yang Zhang

Scott,

I tried to email you but my mail was returned...

About the PLS.m file, I did not specify ‘x’ and ‘y’ should be normalized because sometimes people want to do PLS analysis without normalization and furthermore, there are several methods to normalize the data matrix, I want to leave it open for the user.

About the PCAexample.m file, I said statistical toolbox is needed mainly because the finv function in line 70.

I forgot the ellipse.m function is needed which can be found in mathworks contributed code section. I updated the file description part to clarify.

If possible, you can reach me at: yz@che.utexas.edu
Please give me response to improve them.

Thanks,

Yang

Scott Miller

Are you sure you need the statistics toolbox to run this? I haven't run the code on a version with the toolbox removed, but it looks to me like it should run in the base MATLAB system, and you could remove the restriction.

Scott

Updates

1.0.0.0

The file description part is updated.

finv function is used thus statistical toolbox is needed.

MATLAB Release Compatibility
Created with R2006a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Discover Live Editor

Create scripts with code, output, and formatted text in a single executable document.


Learn About Live Editor