Home > matutils > interf > astack_prod.m

astack_prod

PURPOSE ^

taper=astack_prod(img,beam)

SYNOPSIS ^

function taper=astack_prod(img,beam)

DESCRIPTION ^

 taper=astack_prod(img,beam)

 Multiply an array by each of a stack of arrays

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function taper=astack_prod(img,beam)
0002 % taper=astack_prod(img,beam)
0003 %
0004 % Multiply an array by each of a stack of arrays
0005 
0006 if(size(img,3)==size(beam,3))
0007   taper=img.*beam;
0008 else
0009   for i=1:size(beam,3)
0010     taper(:,:,i)=img.*beam(:,:,i);
0011   end
0012 end

Generated on Sun 14-Jun-2015 17:12:45 by m2html © 2005