Shikhnazar Ismailov
Followers: 0 Following: 0
Feeds
提问
How can the jt cycle or the actions within it be calculated in parallel?
By using the jt cycle codes in parallel, the program should speed up performance. In this case, two cycles and p0 = p 1-parall...
2 years 前 | 0 个回答 | 0
0
个回答提问
Index exceeds matrix dimensions.
function []=diagonal() n=41; ns=(n+1)/2; h=1/(n-1); nt=360; x=(0:n-1)*h; y=x; p0=ones(n); ...
2 years 前 | 1 个回答 | 0
1
个回答提问
Error using oddiyxy1 (line 23) Error: The variable a in a parfor cannot be classified. See Parallel for Loops in MATLAB, "Overview".
n=91; h=1/(n-1); nt=1080; tau=0.001; for i=1:n x(i)=(i-1)*h; y(i)=(i-1)*h; end for j...
3 years 前 | 2 个回答 | 0
2
个回答提问
There is an error in drawing the graph!
n=41; h=1/(n-1); nt=360; tau=0.001; for i=1:n x(i)=(i-1)*h; y(i)=(i-1)*h; end for j=1:n fo...
3 years 前 | 1 个回答 | 0
1
个回答提问
Undefined function or variable 'p'. Error in test1 (line 32) px(j)=p(21,j);
n=41; h=1/(n-1); nt=360; tau=0.001; for i=1:n x(i)=(i-1)*h; y(i)=(i-1)*h; end for j=1:n ...
3 years 前 | 1 个回答 | 0