필터 지우기
필터 지우기

plot piecewise 3D function

조회 수: 2 (최근 30일)
Elizabeth
Elizabeth 2013년 8월 12일
Greetings. I need to plot a piecewise 3D function. I'm familiar with the 3D plot commands, but I seem to be having some difficulty using the proper syntax to define the function.
The function itself is:
n(a,t) = B(t-a)*exp(-int(mu(i),i=0..a)) if a <= t
n(a,t) = n(a-t,0)*exp(-int(mu(i),i=a-t..t)) if a > t
n(0,t) = int(B(a)n(a,t),a=0..inf)
This is the solution to the simple McKendrick von Foerster PDE.
My question is simply: how do I input the above piecewise function to properly define n in Matlab?

답변 (0개)

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by