Estadística
4 Preguntas
0 Respuestas
CLASIFICACIÓN
144.238
of 301.478
REPUTACIÓN
0
CONTRIBUCIONES
4 Preguntas
0 Respuestas
ACEPTACIÓN DE RESPUESTAS
50.0%
VOTOS RECIBIDOS
0
CLASIFICACIÓN
of 21.296
REPUTACIÓN
N/A
EVALUACIÓN MEDIA
0.00
CONTRIBUCIONES
0 Archivos
DESCARGAS
0
ALL TIME DESCARGAS
0
CLASIFICACIÓN
of 174.719
CONTRIBUCIONES
0 Problemas
0 Soluciones
PUNTUACIÓN
0
NÚMERO DE INSIGNIAS
0
CONTRIBUCIONES
0 Publicaciones
CONTRIBUCIONES
0 Público Canales
EVALUACIÓN MEDIA
CONTRIBUCIONES
0 Temas destacados
MEDIA DE ME GUSTA
Feeds
Pregunta
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; ...
alrededor de 9 años hace | 1 respuesta | 0
1
respuestaPregunta
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
alrededor de 9 años hace | 2 respuestas | 0
2
respuestasPregunta
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; ...
alrededor de 9 años hace | 1 respuesta | 0
1
respuestaPregunta
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...
alrededor de 9 años hace | 1 respuesta | 0
