Memuat
Memuat
PCA (pca) for Naval Architecture and Ocean Engineering
0 views
Predict engine condition principal component score from exhaust gas temperature and lubricating oil pressure using PCA (pca) and assess model performance. pca reduces dimensionality by transforming correlated variables into uncorrelated principal components ordered by variance. It is used to summarise many variables, reduce multicollinearity, and visualise multivariate data.

Predict engine condition principal component score from exhaust gas temperature and lubricating oil pressure using PCA (pca) and assess model performance.
| Role | Variable | Unit |
|---|---|---|
| Main | Engine condition principal component score | - |
| Supporting 1 | Exhaust gas temperature | °C |
| Supporting 2 | Lubricating oil pressure | bar |
Two principal components explain 86.3% of the variance (PC1 59.1%, PC2 27.2%) across five variables including Engine condition principal component score, Exhaust gas temperature and Lubricating oil pressure; 3 components are needed to reach 90%.
Computed from illustrative synthetic data, not from a real study.
pca reduces dimensionality by transforming correlated variables into uncorrelated principal components ordered by variance. It is used to summarise many variables, reduce multicollinearity, and visualise multivariate data.
Report the variance explained by each component, the number retained, and the main loadings. Name components by their dominant variables, taking care not to over-interpret.
A short starting script with this project's variable names. The delivered version is adapted to your data and fully commented.
rng(9);
n = 300;
f1 = randn(n, 1); f2 = randn(n, 1);
exhaust_gas_temperature = f1 + 0.3*randn(n, 1);
lubricating_oil_pressure = f1 + 0.3*randn(n, 1);
x3 = f2 + 0.3*randn(n, 1);
x4 = f2 + 0.3*randn(n, 1);
x5 = randn(n, 1);
engine_condition_principal_c = [exhaust_gas_temperature lubricating_oil_pressure x3 x4 x5];
Z = zscore(engine_condition_principal_c);
[coeff, score, latent, ~, explained] = pca(Z);
cum = cumsum(explained);
fprintf('Explained (%%): %s\n', mat2str(explained', 3));
fprintf('Cumulative (%%): %s\n', mat2str(cum', 3));
k = find(cum >= 90, 1);
fprintf('Components for 90%%: %d\n', k);
disp(array2table(coeff(:, 1:2), 'VariableNames', {'PC1', 'PC2'}, ...
'RowNames', {'x1', 'x2', 'x3', 'x4', 'x5'}));
figure;
subplot(1,2,1); plot(explained, '-o'); xlabel('Component'); ylabel('Variance explained (%)');
subplot(1,2,2); biplot(coeff(:, 1:2), 'Scores', score(:, 1:2), 'VarLabels', {'x1', 'x2', 'x3', 'x4', 'x5'});Choose how much help you need. Each higher package includes everything in the lower ones. Prices exclude 11% VAT.
Package 1
US$19
excl. 11% VAT
Duration: 3 working days
Output: MATLAB files + result figures
Deliverables
Package 2 · most chosen
US$53
excl. 11% VAT
Duration: 7 working days
Output: Code + analysis + interpretation notes
Includes all of Package 1, plus
Package 3
US$116
excl. 11% VAT
Duration: 12-15 working days
Output: Code + analysis + guidance until ready to present
Includes all of Packages 1 & 2, plus
Yes. PCA (pca) is commonly used at this level in Naval Architecture and Ocean Engineering. We adapt the analysis to your research question, your own data and your supervisor's requirements.
No. The sheet is computed from illustrative synthetic data so you can see the kind of output MATLAB gives. For your order we run the same method on your own data.
That is the point of the packages. Every script is commented, and Package 3 includes two coaching sessions plus practice questions so you can explain the method and the results at your seminar and defence.
Each project has three packages: Package 1 (code and explanation) US$19, Package 2 (your data analysis and interpretation) US$53 and Package 3 (full guidance) US$116, excluding 11% VAT. Larger datasets, extra methods or tight deadlines adjust the quote after a short consultation.
The result sheet uses illustrative synthetic data. MATLAB is a trademark of The MathWorks, Inc.
Back to MATLAB portfolio