yes ! iam plotting along x=y only. i can choose any values of x and y however i need to ensure that they contain same number of elements for MATLAB computation.
remember it is actually dot product of (x i +y j) and (i +j) that is giving me x +y that is why it is looking like...
True , Thank You for correcting me in that n is parallel to r. n is unit vector in the direction of propagation and r is the position vector. I have written another MATLAB code which goes like this for plane wave generation:
x=linspace(0,99);
y=linspace(0,99);
r=sqrt((x.*x)+(y.*y));
for j=1:100...
I assumed k=1 and ignored the time dependence.
By the By k is not vector it is scalar and it is exp(ik(n.r)) where n is unit normal vector to r
Iam interested in the variation of amplitude in the space. I have developed Matlab code for plotting and in the plot from the color code one can see...
plane wave is represented as exp (ik.r) and the
cylindrical wave as 1/sqrt(r) *exp(ik.r) and the
spherical wave as 1/r*exp(ik.r)
Have anyone tried to plot these waves? How to do it?
Attempt: in Matlab assuming k=1
>> x=linspace(-1,1,100);
>> for(ii=1:100)
fp(ii)=exp(i*x(ii));
end
>>...
I am Post Graduate in Physics and working as a researcher in Non Destructive testing. I have heard about multi-scale simulations and its applications to material modelling. Iam intersted in learning mutiscale simulations for materials modelling. can anyone provide me links that would let me...