f coefficient in PDEtool: exponential function of state.u

조회 수: 1 (최근 30일)
diana bianchi
diana bianchi 2021년 12월 9일
답변: Priyanka Kondapalli 2022년 2월 9일
Hi,
I am currently working on solving a pde imposing c coefficient as an exponential function of the unknow and the location, as below:
cCoef= @(location,state) k.*(exp(state.u-location.y));
specifyCoefficients(model,'m',0,'d',0,'c',cCoef,'a',0,'f',0);
However, when I run the code it does not to consider the exponential relationship.
I could not find any question answering this problem, only addressing how to write a coefficent dependent only on location or only on the unknow.
Thanks,
Diana

답변 (1개)

Priyanka Kondapalli
Priyanka Kondapalli 2022년 2월 9일
Hi,
Below are few links that can help you guide during the exponential function

카테고리

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

제품


릴리스

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by