photo

Pooja Patil


Actif depuis 2017

Followers: 0   Following: 0

Statistiques

MATLAB Answers

4 Questions
0 Réponses

RANG
144 308
of 301 540

RÉPUTATION
0

CONTRIBUTIONS
4 Questions
0 Réponses

ACCEPTATION DE VOS RÉPONSES
50.0%

VOTES REÇUS
0

RANG
 of 21 319

RÉPUTATION
N/A

CLASSEMENT MOYEN
0.00

CONTRIBUTIONS
0 Fichier

TÉLÉCHARGEMENTS
0

ALL TIME TÉLÉCHARGEMENTS
0

RANG

of 175 260

CONTRIBUTIONS
0 Problèmes
0 Solutions

SCORE
0

NOMBRE DE BADGES
0

CONTRIBUTIONS
0 Publications

CONTRIBUTIONS
0 Public Chaîne

CLASSEMENT MOYEN

CONTRIBUTIONS
0 Point fort

NOMBRE MOYEN DE LIKES

  • Thankful Level 1

Afficher les badges

Feeds

Afficher par

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; ...

environ 9 ans il y a | 1 réponse | 0

1

réponse

Question


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

environ 9 ans il y a | 2 réponses | 0

2

réponses

Question


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; ...

environ 9 ans il y a | 1 réponse | 0

1

réponse

Question


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...

environ 9 ans il y a | 1 réponse | 0

1

réponse