The program you create needs to:
Able to enter the teams name
Able to record the score data for 5 tries
Able to visualize the recorded data
Can analysis the data recorded
Can interpolate the score for every 0.5 tries
My problem is that it doesn't want to run the program I can't figure out the problem with my code
What I have tried:
disb(
p=2;
while p<=2
Game=input(
fprint(
for n=1:5
A(n)=input(
end
fprint(
fprint(
fprint(
fprint(
fprint(
Total=A(1)+A(2)+A(3)+A(4)+A(5);
fprint(
x=1:5;
subplot(2,1,1)
stem(x,A,
title(
xlabel(
ylabel(
y=[A(1)A(2)A(3)A(4)A(5)];
n1=1:5;
n2=1:0.5:5;
ysline=interp1(n1,y,n2,
subplot(2,1,2)
plot(n2,ysline,
statice=[mean(A) max(A) min(A) median(A) var(A) std(A)];
disp(
disp(
fprint(
replay=input(
if replay==
disp(
break
end
end