for j = index
figure(fignum)
fignum = fignum + 1;
hold on
for i = 1:numfiles
subplot(numfiles,1,i)
y = Farray(2:end);
yt = transpose(y);
x(:,:,i,j) = NewAmp(:,:,i,j);
xt(:,:,i,j) = transpose(x(:,:,i,j));
plot(y,xt(:,:,i,j))
title(fn(i))
axis([0 Fmax 0 1.5*maxNewAmp(:,:,i,j)])
end
t1 = strcat("Reference Probe: ",fn(j));
t2 = strcat(namexparm, " = ", string(xparmmax(:,:,j)),"(", unitsxparm, ")");
suptitle({char(t1);char(t2)})
suplabel('Frequecy(Hz)','x')
suplabel('Amplitude', 'y')
hold off
end
0 Comments
Sign in to comment.