Ming Ki Lee
自 2017 起处于活动状态
Followers: 0 Following: 0
Feeds
提问
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; ...
8 years 前 | 1 个回答 | 0
1
个回答提问
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,...
8 years 前 | 1 个回答 | 0
1
个回答提问
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...
8 years 前 | 1 个回答 | 0
1
个回答提问
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...
8 years 前 | 1 个回答 | 0
1
个回答提问
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; ...
8 years 前 | 3 个回答 | 0