photo

Tanveer Islam Joy


Last seen: 2 years ago |  Active since 2023

Followers: 0   Following: 0

Statistics

MATLAB Answers

1 Question
0 Answers

RANK
68,505
of 302,365

REPUTATION
0

CONTRIBUTIONS
1 Question
0 Answers

ANSWER ACCEPTANCE
100.0%

VOTES RECEIVED
0

RANK
 of 21,740

REPUTATION
N/A

AVERAGE RATING
0.00

CONTRIBUTIONS
0 Files

DOWNLOADS
0

ALL TIME DOWNLOADS
0

RANK

of 181,691

CONTRIBUTIONS
0 Problems
0 Solutions

SCORE
0

NUMBER OF BADGES
0

CONTRIBUTIONS
0 Posts

CONTRIBUTIONS
0 Public Channels

AVERAGE RATING

CONTRIBUTIONS
0 Discussions

AVERAGE NO. OF LIKES

  • Thankful Level 1

View badges

Feeds

View by

Question


This code is taking a long time to finish. I tried with vectorizing the inner loops n=2:ny-1, m=2:nx-1, but it is still slow. Should I also vectorize the time loop?
nx=320; ny=320; nt=4000; predictor = zeros(nt,nx,ny); corrector = zeros(nt,nx,ny); c4 = zeros(nt,nx,ny); %there are so...

3 years ago | 1 answer | 0

1

answer