필터 지우기
필터 지우기

How do you set up a boundary value problem?

조회 수: 3 (최근 30일)
Robin
Robin 2011년 8월 9일
I posted this question a couple days ago, but I recieved no response:
basically the part that I am havig difficulty is this line:
bcond= @(ya, yb) [ya(1); yb(1)+.5570]
this is where you set up the boundary conditions, but someone please explain this to me? what are these supposed to be exactly? FYI: this equation was modeling the deflection of a beam (the ends are zero)

답변 (1개)

Fangjun Jiang
Fangjun Jiang 2011년 8월 9일
It is called anonymous function. It is the same as:
function bcond=MyFunction(ya,yb)
bcond=[ya(1);yb(1)+.5570];

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by