Scilab Function
Last update : 18/8/2006

b_mix - mixes two coherent wave fields into one wave field.

Calling Sequence

[field_out]=b_mix(field_in_1,field_in_2)

Parameters

Description

The input fields must be the same as dimensions, sizes, wavelengths and the coordinate systems.If not the same dimensions, you can use comammd interpol resize the field, then mix the two coherent fields.

Examples

	m=1;nm=1e-9*m;mm=1e-3*m;cm=1e-2*m;
	lambda=550*nm;sizes=5*mm;N=100;
	R=0.12*mm;d=0.5*mm;z=100*cm;
	F=begin(sizes,lambda,N,N);
	F1=circ_ap(F,R,d,0);
	F2=circ_ap(F,R,-d,0);
	F=b_mix(F1,F2);
	out=forvard(F,z);
	field_plot(out);
 

Author

Chen jingyuan, Gan guangyong (IAPCM, Beijing,China.)

See Also

b_split ,   mixer ,