Rank: 416 based on 280 downloads (last 30 days) and 1 file submitted
photo

Qianqian Fang

E-mail
Company/University
Harvard University

Personal Profile:
Professional Interests:
EM modeling, medical imaging

 

Watch this Author's files

 

Files Posted by Qianqian
Updated   File Tags Downloads
(last 30 days)
Comments Rating
03 Feb 2014 Screenshot JSONlab: a toolbox to encode/decode JSON files in MATLAB/Octave JSONlab is an open-source JSON/UBJSON encoder and decoder (parser) for MATLAB and Octave. Author: Qianqian Fang jsonlab, json, matlab, octave, xml, parser 280 50
  • 4.5
4.5 | 15 ratings
Comments and Ratings by Qianqian View all
Updated File Comments Rating
11 Jul 2014 JSONlab: a toolbox to encode/decode JSON files in MATLAB/Octave JSONlab is an open-source JSON/UBJSON encoder and decoder (parser) for MATLAB and Octave. Author: Qianqian Fang

that's not true. high dimensional arrays are supported. what's not supported is the high-dimensional cell arrays.

30 Mar 2014 JSONlab: a toolbox to encode/decode JSON files in MATLAB/Octave JSONlab is an open-source JSON/UBJSON encoder and decoder (parser) for MATLAB and Octave. Author: Qianqian Fang

hi Kai

can you try converting your input "review" (a char array) to unicode first by using native2unicode()?

not sure if it helps, in the last test in jsonlab/sample/demo_jsonlab_basic.m, I have a utf-8 encoded Chinese string. loadjson/savejson seem to work well with this example (my locale is en_US.UTF-8).

30 Mar 2014 JSONlab: a toolbox to encode/decode JSON files in MATLAB/Octave JSONlab is an open-source JSON/UBJSON encoder and decoder (parser) for MATLAB and Octave. Author: Qianqian Fang

sorry, not in jsonlab_selftest.m, but demo_jsonlab_basic.m

10 Feb 2014 EzyFit 2.42 A free curve fitting toolbox for Matlab Author: Frederic Moisy

for those of you who want to set a bound to the parameters, you may try the following patch:

fangq@wazu:~/space/Libraries/ezyfit$ diff ezfit.m.old ezfit.m
203a204
> bounds={};
240a242,244
> if nargin>4
> bounds={varargin{5:end}};
> end
548c552
< m=fminsearch(@fitlin, m0);
---
> m=fminsearchbnd(@fitlin, m0,bounds{:});
559c563
< m=fminsearch(@fitlog, m0); % bug fixed here! (v2.51)
---
> m=fminsearchbnd(@fitlog, m0,bounds{:}); % bug fixed here! (v2.51)

you will need to download the fminsearchbnd function from

http://www.mathworks.com/matlabcentral/fileexchange/8277-fminsearchbnd-fminsearchcon

and put the files under your matlab search path.

to set a bound, use

fitdata=ezfit(xdata,ydata,fun,p_ini,lb,ub);

where lb and ub are the lower/upper bounds, respectively, similar to those required by fminsearchbnd.

17 Oct 2013 JSONlab: a toolbox to encode/decode JSON files in MATLAB/Octave JSONlab is an open-source JSON/UBJSON encoder and decoder (parser) for MATLAB and Octave. Author: Qianqian Fang

based on the error, it sounds like you had an invalid json file. have you tested your json file by one of the json validators? for example:

http://jsonlint.com/

Comments and Ratings on Qianqian's Files View all
Updated File Comment by Comments Rating
23 Jul 2014 JSONlab: a toolbox to encode/decode JSON files in MATLAB/Octave JSONlab is an open-source JSON/UBJSON encoder and decoder (parser) for MATLAB and Octave. Author: Qianqian Fang Evgeny

Was really useful for me for a simple task. One command and you're done

23 Jul 2014 JSONlab: a toolbox to encode/decode JSON files in MATLAB/Octave JSONlab is an open-source JSON/UBJSON encoder and decoder (parser) for MATLAB and Octave. Author: Qianqian Fang Evgeny

11 Jul 2014 JSONlab: a toolbox to encode/decode JSON files in MATLAB/Octave JSONlab is an open-source JSON/UBJSON encoder and decoder (parser) for MATLAB and Octave. Author: Qianqian Fang Fang, Qianqian

that's not true. high dimensional arrays are supported. what's not supported is the high-dimensional cell arrays.

11 Jul 2014 JSONlab: a toolbox to encode/decode JSON files in MATLAB/Octave JSONlab is an open-source JSON/UBJSON encoder and decoder (parser) for MATLAB and Octave. Author: Qianqian Fang Dmitry

You can't save multidimensional arrays with dimensionality larger than 2, is this true?

30 Mar 2014 JSONlab: a toolbox to encode/decode JSON files in MATLAB/Octave JSONlab is an open-source JSON/UBJSON encoder and decoder (parser) for MATLAB and Octave. Author: Qianqian Fang Fang, Qianqian

hi Kai

can you try converting your input "review" (a char array) to unicode first by using native2unicode()?

not sure if it helps, in the last test in jsonlab/sample/demo_jsonlab_basic.m, I have a utf-8 encoded Chinese string. loadjson/savejson seem to work well with this example (my locale is en_US.UTF-8).

Contact us