How to specify initial conditions for a "Generic System" in the PDE App?
3 次查看(过去 30 天)
显示 更早的评论
Dear Alan,
First I've tried for u(t0) the expression
char('x.^2 + 5*cos(x.*y)','y')
and I got the error message

Then I tried as indicated in your link as an example for u'(t0) the expression
char('p(1,:).^2 + 5*cos(p(1,:).*p(2,:))','p(2,:)')
to get the nodal positions into play. But again I got an error message

So, I'm very helpless... I still does not understand, what is ment by " ...or a column vector of values on the nodes of the current mesh" and what is the MATLAB expression to achieve that!! Please help...
Thanks a lot, Anna
By the way: If I enter just constant numbers in the "char"-expressions, it's working...but I need the functions to apply the correct initial values at the nodes!
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!