have a script for the calculation in real plane, i need to have the same calculation in imaginary plane ( imaginary plane for 10 cm above the real plane)
조회 수: 1 (최근 30일)
이전 댓글 표시
%Source plane
%%source's positions
% source 1
x1=0.4;
y1=0.2;
z1=0;
%source 2
x2=0.8;
y2=0.55;
z2=0;
%source 3
x3=0.5;
y3=0.65;
z3=0;
% Initilization
r1source = zeros(length(y),length(x),length(z)) ;
r2source = zeros(length(y),length(x),length(z)) ;
r3source = zeros(length(y),length(x),length(z)) ;
for m=1:length(y)
for n=1:length(x)
for o=1:length(z)
r1source(m,n,o)=sqrt((x(n)-x1)^2+(y(m)-y1)^2+(z(o)-z1)^2);
r2source(m,n,o)=sqrt((x(n)-x2)^2+(y(m)-y2)^2+(z(o)-z2)^2);
r3source(m,n,o)=sqrt((x(n)-x3)^2+(y(m)-y3)^2+(z(o)-z3)^2);
end
end
end
댓글 수: 2
Walter Roberson
2021년 12월 8일
What is the difference between saying "imaginary plane for 10 cm above the real plane" as compared to just increasing z1, z2, z3 by 10 cm ?
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Time-Frequency Analysis에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!