how can I write this exponential function in MATLAB?
이전 댓글 표시
velocity= 1m/s; x= 0 to 3; zeta= 125.7, u(x,0)= u(space, time); u=0.5 from the wave graph
댓글 수: 3
Hi, you can define a function with syms and then substitute the value you want.
for Example
syms x t a
u(x,t)=exp(a*x^2)*t
u2(x,t)=subs(u,a,2)
John D'Errico
2022년 1월 21일
That just looks like a boundary value. Are you hoping to solve a partial differential equation, with that as a boundary value?
ayushman srivastava
2022년 1월 29일
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Mathematics에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!