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
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 ?
Balaji Ramdas
Balaji Ramdas 2021-12-9
i would say if i just increase the value of z its just changing the position on the real plane, but what i need is,
Imagine there are 3 sound souces placed and we measure the sound pressure at all the points in the aparture that is defined from each sound source to all particular points, so the calucaltion where the sound sources are places is easily defined . my question is, in case if we can imagine and define the imaginary plane with exactly same aparture or size of the real plane, and caluculate the sound presuure in that imaginary plane but still the sound sources are placed in the same position in real plane

请先登录,再进行评论。

回答(0 个)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by