one
产生右图所示图像f1(m,n),其中图像大小为256×256,中间亮条为128
×32,暗处=0,亮处=100。对其进行FFT:
① 同屏显示原图f1(m,n)和FFT(f1)的幅度谱图;
② 若令f2(m,n)=(-1)m+n f1(m,n),重复以上过程,比较二者幅度
谱的异同,简述理由;
③ 若将f2(m,n)顺时针旋转90 度得到f3(m,n),试显示FFT(f3)的幅
度谱,并与FFT(f2)的幅度谱进行比较;
④ 若将f1(m,n) 顺时针旋转90 度得到f4(m,n),令f5(m,n)=f1(m,n)+f4(m,n),试显
示FFT(f5)的幅度谱,并指出其与FFT(f1)和FFT(f4)的关系;
⑤ 若令f6(m,n)=f2(m,n)+f3(m,n),试显示FFT(f6)的幅度谱,并指出其与FFT(f2)和
FFT(f3)的关系,比较FFT(f6)和FFT(f5)的幅度谱。(Generating an image f1 (m, n) shown in the figure, wherein the image size is 256 256, the intermediate light bar 128 32 0 = dark, bright Department 100. Its FFT: ① screen display picture f1 (m, n) and the FFT (f1) of the amplitude spectrum ② If so f2 (m, n) = (-1) m+n f1 (m, n), repeat The above process, comparing the amplitude spectrum of the similarities and differences between the two, brief reasons ③ If f2 (m, n) 90 degrees clockwise to get f3 (m, n), try to display FFT (f3) the amplitude spectrum and with the FFT (f2) comparing the amplitude spectrum ④ If f1 (m, n) obtained by 90 degrees clockwise f4 (m, n), so f5 (m, n) = f1 (m, n)+f4 (m, n ), try to display FFT (f5) amplitude spectrum, and pointed out its relationship with the FFT (f1) and FFT (f4) of ⑤ If so f6 (m, n) = f2 (m, n)+f3 (m, n) and try to display the FFT (f6) amplitude spectrum, and pointed out its relationship with the FFT (f2) and FFT (f3), comparing FFT (f6) and FFT (f5) amplitude spectrum.)
- 2013-11-26 16:24:18下载
- 积分:1
life
:元胞自动机不仅是理论计算机科学领域的一个重要的计算模型,而且可视为一无限维的离散动力系统,被广泛应用于
自然科学和社会科学各领域的复杂性的研究中,是一个重要的研究方法和工具。该文以Matlab 为开发工具,开发了元胞自
动机的可视模型,为其在各个领域的复杂性研究提供了一个简易、可行的计算机仿真工具(MATLAB s version of Conway s Game of Life.
"Life" is a cellular automaton invented by John
Conway that involves live and dead cells in a
rectangular, two-dimensional universe. In MATLAB, the universe is a sparse matrix that is initially all zero.
Whether cells stay alive, die, or nerate new cells depends upon how many of their eight
possible neighbors are alive. By using sparse matrices, the calculations required become astonishingly simple. We use periodic (torus) boundary conditions at the edges of the
universe. Pressing the "Start" button
automatically seeds this universe with several small random communities. Some will succeed and some will fail. )
- 2012-04-07 17:12:38下载
- 积分:1