필터 지우기
필터 지우기

nonlinear 2D elliptic problem u_xx+u_yy= f(x,y)

조회 수: 1 (최근 30일)
nandine
nandine 2017년 5월 3일
댓글: nandine 2017년 5월 4일
x is in (0,1) , y (0,1) and u =0 pn boundaries.
My problem is equivalent to this matrix formulation: (attached).
However, I am stuck on the last part of my code! If anyone can take look and tell me, how to correct it,

채택된 답변

Torsten
Torsten 2017년 5월 4일
편집: Torsten 2017년 5월 4일
f=reshape(f',(Nx+1)*(Ny+1),1);
Best wishes
Torsten.
  댓글 수: 3
Torsten
Torsten 2017년 5월 4일
편집: Torsten 2017년 5월 4일
Report the dimension of the f-array, e.g. by the command "size(f)".
Best wishes
Torsten.
nandine
nandine 2017년 5월 4일
Actually, your earlier suggestion worked! thank you so much!

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Mathematics에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by