Dang Manh Truong
Followers: 0 Following: 0
Feeds
提问
Vectorized method to find the number of consecutive 1s from the left of an array
Hi, I want to find the number of consecutive 1s from the left of an array (a binary array). For example, if I have A = [1 1 1 0 ...
6 years 前 | 1 个回答 | 0
1
个回答提问
Is it possible to call Matlab from Java asynchronously ?
Hi, I am aware of utilities like https://code.google.com/archive/p/matlabcontrol/wikis/Walkthrough.wiki where you can call a Mat...
7 years 前 | 1 个回答 | 0
1
个回答提问
Matlab's profiler does not show anything
<</matlabcentral/answers/uploaded_files/76527/profiler.PNG>> Hi, I'm trying optimize a program, yet for some reasons when the...
7 years 前 | 1 个回答 | 0
1
个回答已回答
Why do I receive a LIBC.lib error when doing a MEX compilation in MATLAB 7.9 (R2009b)?
You could just search for the file, then put it in matlab's working directory. I encountered a similar situation (matlab R2016b,...
Why do I receive a LIBC.lib error when doing a MEX compilation in MATLAB 7.9 (R2009b)?
You could just search for the file, then put it in matlab's working directory. I encountered a similar situation (matlab R2016b,...
7 years 前 | 0
提问
Mexcuda error on Windows 10 (Matlab 2016b)
Hi, I'm using Windows 10, here is the compilers used by mex (as you can see I'm using Visual studio C++ 2015): >> mex -setu...
7 years 前 | 3 个回答 | 0
3
个回答提问
MATLAB - How to force a specific variable to be stored in memory?
I have a cell array of classifiers (for example, decision trees) trainmodel = cell(1,100000). And sometimes this thing gets real...
8 years 前 | 0 个回答 | 0
0
个回答提问
How to efficiently implement k-nearest neighbor algorithm in a gpu?
Hi, here is my gpu information: >> gpuDevice ans = CUDADevice with properties: ...
8 years 前 | 0 个回答 | 0
0
个回答提问
Should I use parfor on an already multithreaded function (decision tree,...)?
Hi, I want to train many decision trees in parallel by using parfor, but I've heard elsewhere that they are multithreaded, so sh...
8 years 前 | 1 个回答 | 0
1
个回答已回答
Why do I see a "java.util.zip.ZipException" error in my installer log file when I try to install the MinGW support package?
Followed the steps outlined by the support team (windows 10, matlab r2016b), and it worked! Thanks a lot!
Why do I see a "java.util.zip.ZipException" error in my installer log file when I try to install the MinGW support package?
Followed the steps outlined by the support team (windows 10, matlab r2016b), and it worked! Thanks a lot!
8 years 前 | 0
提问
Is it possible to create a tall array from a .mat file which contains only 1 variable?
Hi, I've read the documentation about tall array and they usually create one on top of a datastore: ds = datastore(file_nam...
8 years 前 | 0 个回答 | 1
0
个回答提问
Practical k-nearest neighbors implementation with big data set
My data looks like this K = 200; % Could go up to 1000, or more.... X = cell(1,K); Y = cell(1,K); num_of_neighbors...
8 years 前 | 0 个回答 | 0
0
个回答提问
GPU time slower than CPU time in Mandrelbolt set example?
Hi, I'm following the Mandrelbolt set example featured on Mathworks's blog: http://blogs.mathworks.com/loren/2011/07/18/a-mand...
8 years 前 | 2 个回答 | 0
2
个回答提问
Does the Machine learning toolbox (decision tree,...) support GPU
Hi, I'm currently using Matlab R2015a, and I wish to take advantage of the GPU to speedup my code. However, when I used a decisi...
8 years 前 | 1 个回答 | 0
1
个回答提问
Find K smallest elements in a vector where K is very small
I'm trying to speedup my Matlab program using GPU, but since the function "knnsearch" does not support GPU, I decided to write m...
8 years 前 | 2 个回答 | 0
2
个回答提问
Does knnsearch guarantee points in ascending distance order?
Hi, I need to find the k-nearest neihgbors of a test point, but I also need to be sure that they are sorted in ascending order t...
8 years 前 | 0 个回答 | 0
0
个回答提问
How can I vectorize this piece of code for loading cross-validation from file ?
So I am supposed to load the cross-validation folds from a file (10 iterations, each is 10-folds, so a total of 100, arranged se...
8 years 前 | 1 个回答 | 0