Home > OS >  matlab/octave plot a mesh
matlab/octave plot a mesh

Time:12-25

t=0:0.01:2;
alpha=linspace(0, 1, 41);
r=linspace(0,1,41);
[aa,rr] = meshgrid(alpha,r);

At each point of (aa, rr), for each t there is a value t^aa rr^2, then those values are summed up:

sum = (t1^aa rr^2)   (t2^aa rr)   ...

Thus for each point of (aa,rr), there is a number of sum. How do you plot that mesh?

CodePudding user response:

You can enter image description here

  • Related