Community Profile

photo

Hao Zhang


Last seen: mehr als 2 Jahre vor Aktiv seit 2014

Followers: 0   Following: 0

Kontakt

Statistiken

  • Thankful Level 2
  • Revival Level 1
  • Thankful Level 1
  • First Answer

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


How to use two data unit length in the plot function?
I want to use two data unit length in the x axis for the function plot. For example, the x vlaues of my data is x=[0:0.1:1 2:1...

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to calculate local running total in a updating loop?
I have a variable A in a time updating loop, A is updated by a functoin f to another value: While t<=T A=A+f(B); end Now, Co...

etwa 4 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


How to Sum the N newest data
Hi, Say I have a code to simulate the time evolution of a very large 3D array E (the electric field), for instantce in finite-d...

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


parfor with knnsearch, why is so slow?
The matlab built-in function knnsearch uses kdtree method to find K nearest neighbors, it is very optimized. However I want to f...

mehr als 5 Jahre vor | 0 Antworten | 0

0

Antworten

Beantwortet
Why is gpuArray\knnsearch so slow?
Hi, the gpu version of knnsearch seems to use brute force method. you can check this by inputing a very large points cloud so th...

mehr als 5 Jahre vor | 0

Frage


Any GPU implementation of k-nearest neighbor search?
Hi, I am developing a SPH (smoothed particle hydrodynamic) code of solving fluid equations in Matlab. I have successfully vector...

mehr als 5 Jahre vor | 3 Antworten | 1

3

Antworten

Frage


GPU arrayfun is so slow, what is going on?
Hi, I am trying to understand what the GPU arrayfun is doing? The following is a test code. clear;clc;close all gd=gpuDevice(...

mehr als 5 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


how can I output different array size than input by GPU arrayfun?
I am doing particle simulations using matlab. So I have very large data sets which is the position of each particles, for exampl...

mehr als 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to improve matrix indexing efficiency or avoid indexing in Finite difference?
Hi all, I am trying to optimize the performance of a FDTD (Finite-differnce-time-domain) code implemented in Matlab. As you m...

etwa 6 Jahre vor | 1 Antwort | 0

1

Antwort

Beantwortet
Which MATLAB operations/functions need speeding up?
Matrix indexing needs speeding up. For a very simple example, if I run this: clear; clc; close all; N1=100; ...

etwa 6 Jahre vor | 0

Frage


3D gpuArray, length of each dimension has influence on speed?
Hi, I am doing 3D-FDTD simulations using gpuArray. example 1: grid size: 32.000000 X 289.000000 X 289.000000, this means ...

fast 10 Jahre vor | 1 Antwort | 0

1

Antwort