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

Christophe


Personal Profile:

 

Watch this Author's files

 

Comments and Ratings by Christophe View all
Updated File Comments Rating
09 Mar 2013 CATSTRUCT Concatenate/merge structures (v4.0, dec 2013). Author: Jos (10584)

One solution to restore compatibility across MATLAB version would be to substitute line 124:
[UFN,ind] = unique(FN) ;
by
if verLessThan('matlab','8.1')
[UFN,ind] = unique(FN) ;
else
[UFN,ind] = unique(FN,'legacy') ;
end

08 Mar 2013 CATSTRUCT Concatenate/merge structures (v4.0, dec 2013). Author: Jos (10584)

This is a very useful function!

Unfortunately, it seems that the release of MATLAB 2013a breaks its behavior. They have changed the behavior of the function unique and now when I type

catstruct(struct('A',1),struct('A',2))

I get

A: 1

08 Mar 2013 CATSTRUCT Concatenate/merge structures (v4.0, dec 2013). Author: Jos (10584)

30 Sep 2010 Kronecker product An efficient implementation of the Kronecker product for dense, sparse and logical matrices. Author: Laurent S

As promised, the program does the job faster than the original implementation.
Very good!

26 Mar 2010 General simulated annealing algorithm Minimizes a function with the method of simulated annealing Author: Joachim Vandekerckhove

Contact us