plot piecewise 3D function
조회 수: 2 (최근 30일)
이전 댓글 표시
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
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Boundary Conditions에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!