photo

Justin


Last seen: ongeveer 3 jaar ago Active since 2012

Followers: 0   Following: 0

Message

Statistics

  • Thankful Level 3

View badges

Feeds

View by

Question


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...

meer dan 11 jaar ago | 2 answers | 0

2

answers

Question


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...

bijna 12 jaar ago | 0 answers | 2

0

answers

Question


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...

ongeveer 12 jaar ago | 1 answer | 0

1

answer

Question


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...

ongeveer 12 jaar ago | 1 answer | 0

1

answer

Question


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 ...

ongeveer 12 jaar ago | 1 answer | 0

1

answer

Question


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...

meer dan 12 jaar ago | 1 answer | 0

1

answer

Question


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...

meer dan 12 jaar ago | 1 answer | 0

1

answer

Answered
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...

meer dan 12 jaar ago | 1

| accepted

Question


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...

meer dan 12 jaar ago | 2 answers | 0

2

answers

Question


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 ...

meer dan 12 jaar ago | 1 answer | 0

1

answer

Question


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...

bijna 13 jaar ago | 1 answer | 0

1

answer