multi_pixarr - multiply the elements of a pixel array.
multiply the elements of a pixel array.
dim=100;arr=[]; for i=1:dim for j=1:dim sgn=i*j; arr=[arr,sgn]; end end pix_arr=pixel_array(dim); pix_arr_1=set_pix_arr_data(pix_arr,arr); a=pixarr_data(pix_arr_1);surf(a); pix_arr_2=multi_pixarr(pix_arr_1,-1); a=pixarr_data(pix_arr_2);surf(a);
Chen jingyuan, Gan guangyong (IAPCM, Beijing,China.)