Question

Diffusion Equation with Discontinuous Coefficients

Hi, I need code to solve 1-D or 2-D diffusion equation with non constant coefficient : (1-D) or (2-D) using Finite d...

6 days ago | 0 answers | 0

Question

How to compute the sum term ?

Hi, I hope you can help me in this problem : Compute the sum term solution : which . I don't need % I have two solution...

1 month ago | 1 answer | 0

Question

How do I generate code Matlab to make my work easier

Hi, I hope you can help me for in this matter i have a code to solve a problem and i want to change a value t and record the v...

2 months ago | 1 answer | 0

Question

How to make a serie ?

Hi, i need to write a sum of serie : with b_k= (k+1)^2-(k)^2 and u^(m-k) is the numerical solution approximation u(x,t_m-...

3 months ago | 1 answer | 0

Question

How to calcul equation using function Matlab

Hi, I try to write a function for calcul eqution u(x,y t)=exp(-t)*sin(pi*x/L)*sin(pi*y/L) on domaine L-shaped function z=U(x...

3 months ago | 1 answer | 0

Question

problem with plotting a 1D graph

Hi, I have solved a 2D time problem U(x,y,t), 0<=x,y<=L and 0<=t<=T, by FEM and i get trisurf(TRI,x,y,U(:,N)) % N numbe...

3 months ago | 1 answer | 0

Question

how to write a function with loop for and if-statement ?

Hi, I need to write a function U like this : if x=0 then U(0,y)=0 if y=0 then U(x,0)=0 ...

4 months ago | 1 answer | 0

Question

how to create a table in Matlab ?

I have Error L1,L2 and Linf between exacte solution and numerique solution of PDE for differents alpha and dt values in Matlab...

7 months ago | 2 answers | 0

Question

How can i use If ... else loop inside function ?

Hi, i have a problem says : Output argument ( and maybe others) not assigned during call to " g ". Here the function of g ...

8 months ago | 1 answer | 0

Question

How to edit matrice to another matrice?

% how to edit matrice A to matrice B with % A=[1 a b c % 2 d e f % 3 g h i]; % % % B=[ 1 a b 0 % 2 b c 0 % ...

12 months ago | 1 answer | 0