f coefficient in PDEtool: exponential function of state.u
1 回表示 (過去 30 日間)
古いコメントを表示
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
0 件のコメント
回答 (1 件)
Priyanka Kondapalli
2022 年 2 月 9 日
Hi,
Below are few links that can help you guide during the exponential function
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で General PDEs についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!