Rank: 465244 based on 0 downloads (last 30 days) and 0 file submitted



Personal Profile:


Watch this Author's files


Comments and Ratings by Matthieu View all
Updated File Comments Rating
04 May 2013 ALLCOMB All combinations of input (v4.0, feb 2014) Author: Jos (10584)


I wanted to have the index of the computed combinaison.

I propose this solution if other people id interested:

[A index] = allcomb(varargin)

if nargout>1
create_index = @(x) cellfun(@(y) 1:numel(y), x, 'UniformOutput', false);
idx = create_index(args);
[index{ii}] = ndgrid(idx{ii});
index = reshape(cat(ni+1,index{:}),[],ni) ;

04 May 2013 MTIMESX - Fast Matrix Multiply with Multi-Dimensional Support Beats MATLAB 300% - 400% in some cases ... really! Author: James Tursa


I'm trying to use mtimesx on mac OS 10.8 with matlab R2011b but I don't understand how to compile it.

I tryed several solutions described in comments but none worked.

blas_lib = '/Applications/MATLAB_R2011b.app/bin/maci64'

blas_lib =


>> mex('-DDEFINEUNIX','mtimesx.c',blas_lib)
mtimesx.c: In function 'mexFunction':
mtimesx.c:592: warning: assignment discards qualifiers from pointer target type
ld: can't map file, errno=22 for architecture x86_64
collect2: ld returned 1 exit status

mex: link of ' "mtimesx.mexmaci64"' failed.

Error using mex (line 206)
Unable to complete successfully.

Can you help me ?

Contact us