In the below code what a0, b0, T0 standard for
1 次查看(过去 30 天)
显示 更早的评论
a0=1 b0=1 T0=1 step_x=.01 step_t=.01 L_t=T0/step_t L_x=T0/step_x a=a0*ones(1,L_t+1) b=b0*ones(1,L_x+1) [X,T]=meshgrid([0:step_x:T0],[0:step_t:T0]) U=exp(diag(a)*T+diag(b)*X) surf(U) % visualize result
0 个评论
回答(1 个)
Walter Roberson
2016-2-9
I could make something up, but the real answer is that you should ask whoever wrote the code what their intended meaning of the names was.
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!