![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/8683563_1517337949550_DEF.jpg)
tiwwexx
Followers: 0 Following: 0
Feeds
提问
Why is my parfor loop running slower than a regular for loop
Hello all, I have a 3D array that takes an SVD of the first two dimensions for the size of the 3rd dimension. This seems like it...
8 months 前 | 1 个回答 | 0
1
个回答提问
How to efficiently index into memory and call functions within for loops
Hello all, I have a code that I would like to speed up a little bit. There's one section where I input an array that has multipl...
9 months 前 | 1 个回答 | 0
1
个回答提问
Automatically set number of outputs of the gradient function
I have a loss function I define to minimize some gradient magnitude. However, the dimension of my input data will change so I wa...
1 year 前 | 1 个回答 | 0
1
个回答提问
Complex matrix multiplication with pagemtimes
I'm optimizing some function and I end up having to do voxelwise quadratic matrix multiplication a'Ba on complex mats. While tes...
1 year 前 | 1 个回答 | 0
1
个回答提问
limiting broadcast variables in parfor loops
I have some 3D or 4D arrays that I want to run a block processing on. To do this I create a cell object that I can call that ret...
1 year 前 | 1 个回答 | 0
1
个回答提问
limiting broadcast variable in a 3d block processing program
I have some 3D or 4D arrays that I want to run a block processing on. To do this I create a cell object that I can call that ret...
2 years 前 | 1 个回答 | 0
1
个回答提问
Optimize GPU code with nested pagemtimes
Hello all, I'm trying to speed up computation using the GPUs that are available to me. Right now I have two arrays, Q and W. ...
2 years 前 | 1 个回答 | 0
1
个回答已回答
Speed up a for loop by utilizing a gpu
This solution was given by Jan here. Q_gpu = reshape(0.5*sigmaE_gpu./mass_gpu,1,1,size(sigmaE_gpu,1)).*Q_gpu;
Speed up a for loop by utilizing a gpu
This solution was given by Jan here. Q_gpu = reshape(0.5*sigmaE_gpu./mass_gpu,1,1,size(sigmaE_gpu,1)).*Q_gpu;
2 years 前 | 0
| 已接受
提问
Speed up a for loop by utilizing a gpu
Hello, I'm trying to speed up the following for loop for n=1:size(Q_test,3) Q_test(:,:,n) = sigma(n) / 2 / mass(n) * Q_in(...
2 years 前 | 1 个回答 | 0
1
个回答提问
How to efficiently allocate memory using a parfor loop
Hello all, I have a quick optimization question. I'm doing calculations on some very large point cloud data. The calculation I'...
2 years 前 | 1 个回答 | 1
1
个回答已回答
How to merge two column cell arrays into one, with alternating values?
I would create a matrix with size a+b then fill it in using steps of two. a=zeros(1,5); b=ones(1,5); c= zeros(1,size(a,2)+siz...
How to merge two column cell arrays into one, with alternating values?
I would create a matrix with size a+b then fill it in using steps of two. a=zeros(1,5); b=ones(1,5); c= zeros(1,size(a,2)+siz...
3 years 前 | 0
已回答
MEAN AND ROOT MEAN SQUARE
I don't think that matlab likes that you're using curly brackets. Try changing all { } to ( ).
MEAN AND ROOT MEAN SQUARE
I don't think that matlab likes that you're using curly brackets. Try changing all { } to ( ).
3 years 前 | 0
提问
What's an efficient way to pick a specific slice in a high dimensional array
Hello all, I have an array that can be anywhere from 9 to 16 dimensional. I want to concatinate one of the dimensions into a pre...
3 years 前 | 1 个回答 | 0
1
个回答提问
Taking the median filter of two images
Hello all, I'm doing an image processing problem where I'm solving a regularized l1 minimization problem for x_n where N is a...
3 years 前 | 1 个回答 | 0
1
个回答提问
how to change a cell in a string to a string in a table
Hey everyone, I'm trying to use the 'unique' matlab function. unique(table.row) When I try this I get the error "Cell array ...
5 years 前 | 1 个回答 | 0
1
个回答提问
Setting a Colormap To An Errorbar Plot
Hey guys, I was a just wondering if it's possible set a colormap like 'jet' to an errorbar plot. I found one place that already ...
5 years 前 | 1 个回答 | 0
1
个回答已回答
A shortcut for recurring if statements
tablerow(1,:) = [a b c d]; for k= 1:numtable2rows tablerow(k+1,:) = tablerow(k,:) + [0 50 0 0]; end This works. Inspired...
A shortcut for recurring if statements
tablerow(1,:) = [a b c d]; for k= 1:numtable2rows tablerow(k+1,:) = tablerow(k,:) + [0 50 0 0]; end This works. Inspired...
5 years 前 | 0
| 已接受
已回答
How to find a specific word after running the OCR function
In case anyone sees this string I thought of a way around this. Use the code results = ocr(myimage, 'CharacterSet', '"and"'); ...
How to find a specific word after running the OCR function
In case anyone sees this string I thought of a way around this. Use the code results = ocr(myimage, 'CharacterSet', '"and"'); ...
5 years 前 | 0
| 已接受
提问
A shortcut for recurring if statements
Hello, I have a case where I don't know how many elements a vector will have and then depending on different size vectors I'll e...
5 years 前 | 2 个回答 | 0
2
个回答提问
regexprep help with replacing strings
Hey guys/girls, I'm needing to replace some elements of a string and I'm using regexprep. What I have to replace is a number fo...
5 years 前 | 1 个回答 | 0
1
个回答提问
how to find an empty row in a table
Hello, I'm trying to get rid of a certain row in a single column table that only has a []. for example if I have a table. ...
5 years 前 | 2 个回答 | 0
2
个回答提问
How to find repeated values in a column vector
Hello, I'm trying to find every place where a value (1) repeats in a vector and then take only the second time the value repeats...
5 years 前 | 1 个回答 | 0
1
个回答提问
How to find a specific word after running the OCR function
I'm working on a project where I use the OCR function to analize a picture. I want to find a specific word in the picture, for i...
5 years 前 | 1 个回答 | 0