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

4 visualizzazioni (ultimi 30 giorni)
YOGESHWARI PATEL
YOGESHWARI PATEL il 9 Feb 2016
Risposto: Walter Roberson il 9 Feb 2016
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

Risposte (1)

Walter Roberson
Walter Roberson il 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.

Categorie

Scopri di più su Introduction to Installation and Licensing in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by