Helhmholtz theorem, how to implement it in Matlab?
조회 수: 4 (최근 30일)
이전 댓글 표시
Hi, I am working on modeling a system, and one of the initial conditions for this system is given in terms of the divergence of a vector field, and so looking at Helmholtz theorem I can in principle calculate the vector field, as the curl I am pretty confident can be made 0 as it is a constant of motion, but now when I want to implement the theorem I ran into some problems. The vector I am looking for can be written as
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/148612/image.gif)
where phi equals
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/148613/image.gif)
Now I have to calculate the integral in matlab for phi, where I know what div(V) is, but when in comes to implementing it in matlab I get stuck,as in particular I am looking at the 2D case, and div(V) will be a matrix, and can't seem to figure out how to perform 2D integration in matlab. Any help will be appreciated.
댓글 수: 0
답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!