Question

Please Use Matlab to do this problem: The cross-sectional area measurements (

Please Use Matlab to do this problem:

The cross-sectional area measurements (

0 0
Answer #1

ANSWER:-

BY USING  MATLAB

tutorialspoint GNU Octave 3.6.4 Execute 1 clear 2 clc 3 x [153.3 91.2 99.3 115 101.7 135.8 102.4]; 4 n-length(x); 5 s-std(x);

OUTPUT SCREENSHOTS

Result Executing the program.... $octave -qf --no-window-system main.m 150 160 130 140 120 100 110 90

0.5 0.5 90 100 110 120 130 140 150 160

BF 90 100 110 120 130 140 150 160

0.5 XD -0.5 90 100 110 120 130 140 150 160

BF 90 100 110 120 130 140 150 160

0.5 0.5 90 100 110 120 130 140 150 160

BF 130 140 150 160 100 110 120 90

0.5トー 0.5 140 150 160 -1 110 120 130 100 90

COPY CODE

MATLAB CODE

clear
clc
x=[153.3 91.2 99.3 115 101.7 135.8 102.4];
n=length(x);
s=std(x);
xbar=mean(x);
Z=1.96;
lowerLimit=xbar+Z*s/sqrt(n);
upperLimit=xbar-Z*s/sqrt(n);
plot(x,zeros(1,n),'ro')
hold on
plot(xbar,0,'bx','markersize',15)
plot(lowerLimit,0,'ks','markersize',12)
plot(upperLimit,0,'ks','markersize',12)
axis([70 180 -1 1])

SAMPLE OUTPUT

0.8 0.6 0.4 0.2 -0.2 -0.4 0.6 -0.8 -1 70 80 90 100 110 120 130 140 150 160 170 180

Know the answer?
Add Answer to:
Please Use Matlab to do this problem: The cross-sectional area measurements (
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT