close all;

grid_size=length(aa);

figure;%display sliced h image
sliced_h=zeros(grid_size,601);
sliced_h(:)=final_h(grid_size/2,:,:);
imagesc(abs(sliced_h));
colormap(gray);

figure;%display sliced final image
slice=zeros(grid_size,601);
slice(:)=final_image(grid_size/2,:,:);
imagesc(abs(slice));
colormap(gray);

figure;
subplot(2,5,1);
figa=zeros(grid_size);
figa=final_image(:,:,601);
imagesc(abs(figa));
axis square;
colormap(gray);

subplot(2,5,2);
figb=zeros(grid_size);
figb=final_image(:,:,451);
imagesc(abs(figb));
axis square;
colormap(gray);

subplot(2,5,3);
figc=zeros(grid_size);
figc=final_image(:,:,301);
imagesc(abs(figc));
axis square;
colormap(gray);

subplot(2,5,4);
figd=zeros(grid_size);
figd=final_image(:,:,151);
imagesc(abs(figd));
axis square;
colormap(gray);

subplot(2,5,5);
fige=zeros(grid_size);
fige=final_image(:,:,1);
imagesc(abs(fige));
axis square;
colormap(gray);


%display sliced final h


subplot(2,5,6);
figah=zeros(grid_size);
figah=final_h(:,:,601);
imagesc(abs(figah));
axis square;
colormap(gray);

subplot(2,5,7);
figbh=zeros(grid_size);
figbh=final_h(:,:,451);
imagesc(abs(figbh));
axis square;
colormap(gray);

subplot(2,5,8);
figch=zeros(grid_size);
figch=final_h(:,:,301);
imagesc(abs(figch));
axis square;
colormap(gray);

subplot(2,5,9);
figdh=zeros(grid_size);
figdh=final_h(:,:,151);
imagesc(abs(figdh));
axis square;
colormap(gray);

subplot(2,5,10);
figeh=zeros(grid_size);
figeh=final_h(:,:,1);
imagesc(abs(figeh));
axis square;
colormap(gray);