Peter Li


The Salk Institute

Active since 2006

Followers: 0   Following: 0

Message

Statistics

All
  • Personal Best Downloads Level 1
  • First Review
  • 5-Star Galaxy Level 3
  • First Submission
  • First Answer

View badges

Feeds

View by

Submitted


nthperm
Directly compute Nth lexicographic permutation

11 years ago | 2 downloads |

Submitted


Fast batch generation of permutations
Get next block of lexicographic permutations of input vector

11 years ago | 1 download |

Answered
Why does inputParser crash Matlab ~R2013?
MathWorks added a new option to inputParser called PartialMatching. This defaults to true although it changes the behavior of i...

11 years ago | 0

| accepted

Question


Why does inputParser crash Matlab ~R2013?
Under some conditions, inputParser can cause recent versions of Matlab to segfault?!

11 years ago | 1 answer | 0

1

answer

Answered
Why does ISFIELD always return FALSE when querying a user-defined class in MATLAB 7.7 (R2008b)?
ISPROP now does this for objects, at least as of R2011a, quite possibly before that.

11 years ago | 0

Submitted


nth_element
MEX wrap of C++ nth_element. Plus fast_median, a faster median function. In-place and parallel.

11 years ago | 2 downloads |

Submitted


waitfordata
Block Matlab while specified fig is open, then grab APPDATA when fig is closing.

12 years ago | 1 download |

Answered
Multi-threaded Mex functions in the FEX
With C++11 your general problem should be solved? Search stackoverflow (or perhaps Matlab answers) for how to compile mex with ...

12 years ago | 2

Submitted


More intuitive subplot
Matlab's subplot is useful for throwing figures together but the indexing is very counter-intuitive.

13 years ago | 1 download |

Question


How to decode mxGetData void pointer nicely
I'm trying to write a C++ mex function that can handle multiple datatypes. So I do something like: void *data = mxGetData(mx...

13 years ago | 0 answers | 2

0

answers

Answered
How do I access a Java inner class from Matlab?
However, contrary to the answer provided by support, this _is_ possible without writing custom wrappers! If you are trying to g...

13 years ago | 3

| accepted

Question


How do I access a Java inner class from Matlab?
As described in <http://www.mathworks.com/support/solutions/en/data/1-SJ6EQ/index.html?solution=1-SJ6EQ this MathWorks support n...

13 years ago | 2 answers | 0

2

answers

Answered
MATLAB library initialization failing due to (I suspect) multiple versions of boost thread library
One possible alternative solution in this situation is to just link your code against MATLAB's version of boost_thread. You may...

13 years ago | 0

Submitted


LSM File Toolbox
Functions for reading info databases of Zeiss LSM confocal microscope files.

17 years ago | 2 downloads |

Submitted


scanfc
scanf rewritten to give cell arrray output

18 years ago | 1 download |