photo

Ming Ki Lee


Actif depuis 2017

Followers: 0   Following: 0

Statistiques

  • Thankful Level 1

Afficher les badges

Feeds

Afficher par

Question


About looping a matrix
L=45; tmax=60; U=0.8; D=1.6; Xs=8; Cs=10; Xflux=36; dt=6.328125; dx=4.5; mx=L/dx; ...

presque 8 ans il y a | 1 réponse | 0

1

réponse

Question


Create a vector that only the first element and the last element is 0
B=zeros(mx,1); for z=1:mx if B(z,1) == B(1,1) B(z,1) = 0; elseif B(z,1) == B(mx,1) B(z,...

presque 8 ans il y a | 1 réponse | 0

1

réponse

Question


How to find a value that is close to the gap?
L=50; dx=5; Xp = L/dx; Xs=8 start=0; eend=dx; for n=1:Xp if Xs>=start && Xs<=eend s...

presque 8 ans il y a | 1 réponse | 0

1

réponse

Question


About a for loop matrix
for k=2:mx-1 for j=2:mx-2 A(k,j-1) = (D*dt)/dx^(2)+U*dt/(2*dx); break end break end I set t...

presque 8 ans il y a | 1 réponse | 0

1

réponse

Question


Problem to display a matrix?
L=100; tmax=60; U=0.8; D=1.6; Xs=8; Cs=10; Xflux=36; mx=40; dt=100; dx=10; n = 0; i = 1; ...

presque 8 ans il y a | 3 réponses | 0

3

réponses