Info

This question is closed. Reopen it to edit or answer.

How eq. expressed in finite difference method be solved in matlab?

1 view (last 30 days)
hello, pl. help me to find the matlab code 4 following ..
PDE is expressed in Finite difference eq. given below-
Fj(fj-3,fj-2,fj-1,fj,fj+1,fj+2,fj+3)=( 4 fj-1 + 6 fj -4fj+1)+Rh^2(fj+1^2 - fj-1^2 +fjfj-2 - fjfj+2) -RT(-fjfj-3+4fjfj-2+fjfj+3)=0
we divide interval(-1,1) into 20 equal parts i.e. h=0.1, mesh points are 3 to 23 and 4<=j<=22, with conditions-: f1=f3=-1.0; f2=f4 ; f22=f24 ; and f23=f25=1.0,; f13=0
please note that parameter j-1,j-2,etc. are in subscript.
pl tell me how can i solve the above equation in matlab.
what will be the code for solving such eq. i am new in matlab ur help & support will be highly appriciated.......
i really need matlab code for impleting the same .

Answers (0)

Community Treasure Hunt

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

Start Hunting!