In the below code what a0, b0, T0 standard for

1 view (last 30 days)
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

Answers (1)

Walter Roberson
Walter Roberson on 9 Feb 2016
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.

Categories

Find more on Programming in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!