搜索资源列表
cgh
- 计算全息close all clc clear A=zeros(64) A(15:20,20:40)=1 A(15:50,20:25)=1 A(45:50,20:40)=1 A(30:34,20:35)=1 % ppp=exp(rand(64)*pi*2*i) A=A.*ppp % Author s email: zjliu2001@163.com figure imshow(abs(A),[]) Fa=fft2(fftshift(A)) Fs=fftshi
randn_test
- 产生随机数,跟matlab的rand功能一样,用C实现,经过测试,没有错误,可以直接拿去使用。-Generate random Numbers, like the rand function of matlab, C, after testing, there is no error, can be directly used.