Math Problem Statement

clc clear l1=10000;n=20000;dd=4.5;a0=90;de=5.8;le=50;gtl0=683000;%mlm-----gtl0=34150=5mW;;;gtl0=136600=20mW;;;gtl0=341500=50mW;;;gtl0=683000=100mW;;;gtl0=1366000=200mW xe=400:4:10000; ye=400:4:10000; xi=1:1:10000; yi=1:1:10000; x1=zeros(numel(xe),numel(ye)); x2=zeros(numel(xe),numel(ye)); y1=zeros(numel(xe),numel(ye)); y2=zeros(numel(xe),numel(ye)); x3=zeros(numel(xe),numel(ye)); x4=zeros(numel(xe),numel(ye)); y3=zeros(numel(xe),numel(ye)); y4=zeros(numel(xe),numel(ye)); SS=zeros(numel(xe),numel(ye));

for i=2:numel(xe) for j=2:numel(ye) if xe(i)<=ye(j) x1(i,j)=(2l1xe(i)-l1de)/(2ye(j)); x2(i,j)=(2l1xe(i)+l1de)/(2ye(j));
if x1(i,j)<=1 x1(i,j)=1; elseif x1(i,j)>=10000 x1(i,j)=100000; end if x2(i,j)<=1 x2(i,j)=1; elseif x2(i,j)>=10000 x2(i,j)=10000; end SS(i,j)=xexiaoyuyelmd2(xe(i),ye(j),x1(i,j),x2(i,j)); end
end end

figure(1); mesh(xe,ye,SS+SS.'); axis tight xlabel('弹丸过幕横坐标xe(mm)'); ylabel('弹丸过幕纵坐标ye(mm)'); zlabel('探测灵敏度δ'); % xe=404:4:10000; ye=404:4:10000;解释这段代码的意思

Solution

Ask a new question for Free

By Image

Drop file here or Click Here to upload

Math Problem Analysis

Mathematical Concepts

MATLAB Programming
Meshgrid
Nested Loops

Formulas

-

Theorems

-

Suitable Grade Level

Advanced College Level