Statistics
4 Questions
0 Answers
RANK
245,133
of 301,440
REPUTATION
0
CONTRIBUTIONS
4 Questions
0 Answers
ANSWER ACCEPTANCE
50.0%
VOTES RECEIVED
0
RANK
of 21,282
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANK
of 174,580
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
Feeds
Question
GPU time is more than CPU time in following code ,what went wrong in this code?
tic f=@(t,alpha)(t.^(4-alpha))/(gamma(5-alpha)); h=1/640; t=0:h:1; nt=length(t); alpha=0.9; u=zeros(1,nt); m=1; ...
9 years ago | 1 answer | 0
1
answerQuestion
vectorization of for loop code
prod1=zeros(1000,1000); for n=1:1000; prod1(n,(1:n))=temp*((n-(1:n)+1).^alpha-(n-(1:n)).^alpha); end
9 years ago | 2 answers | 0
2
answersQuestion
How to vectorized the following for loop code?
for n=1:nt-1 sum1=0; for jj=1:m-1 sum1=sum1+(t(n+1)).^jj.*u(1).^jj/factorial(jj); end sum2=0; ...
9 years ago | 1 answer | 0
1
answerQuestion
Please help me vectorizing the following code
n=2:nt; sum1(n)=f(t(n),alpha)+(var).*bj(n).*u(1); k=1:n-1;var_bj=(bj(k+1)-bj(k)).*(var); for n=2:nt s...
9 years ago | 1 answer | 0
