| 2 | 1/1 | 返回列表 |
| 查看: 2352 | 回復(fù): 1 | |||
findmymp3新蟲 (初入文壇)
|
[交流]
【求助】MATLAB模擬厄米高斯光束的問題 已有1人參與
|
|
function her = hermite(m,x) % This fuction is used to produce hermite polynomials with order of m. if m==0 her = ones(size(x)); elseif m==1 her = 2*x; else her = 2*x.*hermite(m-1,x)-(m-1)*2*hermite(m-2,x); end %%%%%%%%%%%%%%%%%%%%%%%%%%%%% %exmp1_6_2模擬高階厄米-高斯光束 clear clc x = linspace(-3,3,500); y = x; [xx,yy] = meshgrid(x,y); k = 1; for m= 0:2 for n = 0:2 Ie = hermite(m,sqrt(2)*xx).^2.*hermite(n,sqrt(2)*yy).^2.*exp(-2*(xx.^2 + yy.^2)); subplot(3,3,k); surf(xx,yy,Ie); shading interp; axis equal; axis([-3,3,-3,3]); box on; axis off; hold on; k = k+1; end end 怎么我模擬的結(jié)果,圖形的中間會(huì)出現(xiàn)白線,請(qǐng)哪位大俠看看是不是程序哪出了問題! |

新蟲 (初入文壇)
| 2 | 1/1 | 返回列表 |
| 最具人氣熱帖推薦 [查看全部] | 作者 | 回/看 | 最后發(fā)表 | |
|---|---|---|---|---|
|
[考研] 332求調(diào)劑 +4 | @MZB382400 2026-03-28 | 4/200 |
|
|---|---|---|---|---|
|
[考研] 本科新能源科學(xué)與工程,一志愿華理能動(dòng)285求調(diào)劑 +7 | AZMK 2026-03-28 | 11/550 |
|
|
[考研] 生物學(xué)學(xué)碩,一志愿湖南大學(xué),初試成績338 +6 | YYYYYNNNNN 2026-03-26 | 7/350 |
|
|
[考研] 394求調(diào)劑 +3 | 好事多磨靜候佳?/a> 2026-03-26 | 5/250 |
|
|
[考研] 311求調(diào)劑 +3 | 希望上岸阿小楊 2026-03-23 | 3/150 |
|
|
[考研] 308求調(diào)劑 +7 | 墨墨漠 2026-03-27 | 7/350 |
|
|
[考研] 291求調(diào)劑 +7 | 孅華 2026-03-22 | 7/350 |
|
|
[考研] 求調(diào)劑 +8 | 張zz111 2026-03-27 | 9/450 |
|
|
[考研] 07化學(xué)280分求調(diào)劑 +10 | 722865 2026-03-23 | 10/500 |
|
|
[考研] 化學(xué)308分求調(diào)劑 +8 | 你好明天你好 2026-03-23 | 9/450 |
|
|
[考研] 305求調(diào)劑 +5 | 哇盧卡庫 2026-03-26 | 5/250 |
|
|
[考研] 材料與化工304求B區(qū)調(diào)劑 +3 | 邱gl 2026-03-26 | 6/300 |
|
|
[考研] 352求調(diào)劑 +4 | 大米飯! 2026-03-22 | 4/200 |
|
|
[考研]
|
WWW西西弗斯 2026-03-24 | 8/400 |
|
|
[考研] 總分293求調(diào)劑 +6 | 加一一九 2026-03-25 | 8/400 |
|
|
[考研] 環(huán)境專碩324分求調(diào)劑推薦 +5 | 軒小寧—— 2026-03-26 | 5/250 |
|
|
[考研] 各位老師您好:本人初試372分 +5 | jj涌77 2026-03-25 | 6/300 |
|
|
[考研] 一志愿吉林大學(xué)材料與化工303分求調(diào)劑 +4 | 為學(xué)666 2026-03-24 | 4/200 |
|
|
[考研] 318求調(diào)劑 +3 | plum李子 2026-03-23 | 3/150 |
|
|
[考博] 26申博自薦 +3 | whh869393 2026-03-24 | 3/150 |
|