how can I write this exponential function in MATLAB?

조회 수: 4 (최근 30일)
ayushman srivastava
ayushman srivastava 2022년 1월 21일
댓글: ayushman srivastava 2022년 1월 29일
velocity= 1m/s; x= 0 to 3; zeta= 125.7, u(x,0)= u(space, time); u=0.5 from the wave graph
  댓글 수: 3
John D'Errico
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?

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

채택된 답변

Bhavana Ravirala
Bhavana Ravirala 2022년 1월 25일
Hi Ayushman,
You can use exp() function in the MATLAB. Refer to the below example
for x=0:3
u=exp(-16*(x-1/2)^2)*sin(zeta*x)+u;
end
Refer to the below documentation for more information:
Hope this helps.

추가 답변 (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