Feeds
提问
Matlab FFT vs MEX FFTW
I recently wrote a simple routine in Matlab that uses an FFT in a for-loop; the FFT dominates the calculations. I wrote the same...
11 years 前 | 2 个回答 | 0
2
个回答提问
Contourf and NaNs (how to make white regions transparent)
Hello, I'm trying to make a contourf plot but certain areas of the data array have NaNs (only in the data matrix, the x and y me...
12 years 前 | 0 个回答 | 2
0
个回答提问
Cannot access callbacks in an object after switching directory?
I have a class with uicontrols that have callbacks. If I instantiate the class (which opens up a gui), and then switch to anothe...
12 years 前 | 1 个回答 | 0
1
个回答提问
How to prevent a function from returning?
I have a script that executes a function that contains a gui. I'd like for the user to input some data, and when they hit a "clo...
12 years 前 | 1 个回答 | 0
1
个回答提问
uigetfile like behavior for new guis
uigetfile basically prevents doing anything before user input is finished (i.e a file is loaded). I was wondering how one could ...
12 years 前 | 1 个回答 | 0
1
个回答提问
Overlaying data on an image
I have two plots I want to overlay on top of each other as shown in the link below: <<http://i.imgur.com/seFiL.jpg>> The i...
12 years 前 | 1 个回答 | 0
1
个回答提问
Allocate page locked memory for output array in mex?
Hello, I have something like this: plhs[0] = mxCreateDoubleMatrix(ref_row, ref_col, mxREAL); I would like to know if it...
12 years 前 | 1 个回答 | 0
1
个回答已回答
Setting Matlab thread affinity in Linux
Ok. I found a solution. I used: export GOMP_CPU_AFFINITY=0-63 Instead of OMP_PROC_BIND. This is actually better in my opin...
Setting Matlab thread affinity in Linux
Ok. I found a solution. I used: export GOMP_CPU_AFFINITY=0-63 Instead of OMP_PROC_BIND. This is actually better in my opin...
12 years 前 | 1
| 已接受
提问
Setting Matlab thread affinity in Linux
Hello, I was wondering if there is a way to set thread affinity in matlab. Basically, I have a mex file with openmp and if I set...
12 years 前 | 2 个回答 | 0
2
个回答提问
Matlab Parfor with shared array?
Is there anyway to share an array between workers like below: A = zeros(10,10) parfor i = 1:10 for j = 1:10 ...
12 years 前 | 1 个回答 | 0
1
个回答提问
Passing structures through mex
Ok. I have a structure I want to have access to in my mex file (which I'm writing in C). The values are located in a field withi...
13 years 前 | 1 个回答 | 0