Answered step by step
Verified Expert Solution
Question
1 Approved Answer
write matlab code for me Task 1 . 1 Develop algorithms to plot confidence ellipsoids to detect anomaly detection of the 5 0 pumps .
write matlab code for me Task
Develop algorithms to plot confidence ellipsoids to detect anomaly detection of the
pumps Assume parameter uncertainty as a
confidence region.List which of the
pumps do not require immediate maintenance to avoidfailing in the nearfuture. You do not need to plot the Mahalanobis distances, only measure them.
Task
Repeat your results for a parameter uncertainty of
confidence region.
Can you briefly explain the changes in the results, and which of the two results would you prefer to make your final decision on
~
words
clear all, close all;
load SensorData manufacturer supplied data for pump's delivery head
HealthyTheta HealthyTheta linearFit HealthyEnsemble;
M meanHealthyTheta;Mean of h parameters
C covHealthyTheta;Covariance of h parameters
color Gives surface colour to ellipsoid
UL eigC;
For n standard deviation spread of data, the radii of the ellipsoid will
be given by nSQRTeigenvalues
n;
l ; No of faces
radii nsqrtdiagL;
xcyczc ellipsoidradiiradiiradiil;
a kronU:xc; b kronU:yc; c kronU:zc;
data abc;
nc sizedata;
x data:nc:M;
y datanc:nc:M;
z datanc:end,:M;
if isscalarcolor color colorones; end
ColorMap:: coloronesl;
ColorMap:: coloronesl;
ColorMap:: coloronesl;
sc surfxyzColorMap;
shading interp
alphasc;
camlight headlight
lighting phong
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started