Feeds
질문
GPU time slower than CPU time, what went wrong with my GPU implementation?
clc;clearvars -except time_vec; close all; h=gpuArray(0.001); t=0:h:2*pi; alpha=gpuArray(0.5); in=...
대략 8년 전 | 답변 수: 1 | 0
1
답변질문
How to vectorize the following code for derivative by removing for loop?
clc;clear all; close all; h=0.001; t=0:h:4*pi; alpha=0.5; in=sin(t); alphaINT = (real(alpha)>0) .* ceil(real(alph...
대략 8년 전 | 답변 수: 0 | 0
0
답변질문
How to vectorize integral?
h=0.1; t1=0:h:2*pi; alpha=0.3; f=@(x) sin(x); for i=2:length(t1) t=t1(i); k=1/ga...
8년 초과 전 | 답변 수: 2 | 0
