Green's Function Formulas modeling on MATLAB
时间:03-30
整理:3721RD
点击:
Greetings!
Well, I'm considering coding Time-domain Green 's Function formulas on Electromagnetics according to this review (page 1285). But, I'd like to evaluate if those formulas are actually implementable on MATLAB for modeling and calculation. Are there any eventual issues with this approach?
I searched for possible works around that, but its seems not very used. So, I'm asking about its feasibilty.
I'll be grateful for any kind of advice. Thanks.
But I have a problem with coding the double integral, the partial derivative and applying the variable transformation.
Please, any help for G?d"s sake. I'll be eternally grateful
and with my very basic knowledge of the software, here"s the code:
Beside the feeling of missing something with the code, I have encountered so far a problem with calculating the double indefinite integrals using "dblquad" because it doesn't seems right. Same with using "diff" with indefinte differentials.
I have no experience in this domain and I'm definitely afraid that I'm missing something here (too good to be true. This has to be more complicated then that ). So I'll be eternally grateful for any help.
Thanks very much for any kind of help!
Well, I'm considering coding Time-domain Green 's Function formulas on Electromagnetics according to this review (page 1285). But, I'd like to evaluate if those formulas are actually implementable on MATLAB for modeling and calculation. Are there any eventual issues with this approach?
I searched for possible works around that, but its seems not very used. So, I'm asking about its feasibilty.
I'll be grateful for any kind of advice. Thanks.
Well, I finally chose to code this 2 equation on Matlab, just translating them anatically:
But I have a problem with coding the double integral, the partial derivative and applying the variable transformation.
Please, any help for G?d"s sake. I'll be eternally grateful
Any help, please? No matter how, I just need some enlightenments.
I'm trying to begin with the electric field
and with my very basic knowledge of the software, here"s the code:
Code:
function [E]= Etemp(x,y,z,x0,y0,z0,E0,t,c) if z<z0, E=E0; else E=-(1./(2*pi))*dblquad('E2(x0,yo)',inf,inf,inf,inf); E2=(Rgv/(Rg^2))*((1/c)*z./norm(z)*diftE+((1/Rg)*z./norm(z)*E0)); clear, syms ro Rg c t; f=E0; diftE=diff(f,t); end
Beside the feeling of missing something with the code, I have encountered so far a problem with calculating the double indefinite integrals using "dblquad" because it doesn't seems right. Same with using "diff" with indefinte differentials.
I have no experience in this domain and I'm definitely afraid that I'm missing something here (too good to be true. This has to be more complicated then that ). So I'll be eternally grateful for any help.
Thanks very much for any kind of help!
You would probably be better finding a MATLAB forum and asking there.