Rank: 5470 based on downloads (last 30 days) and 0 files submitted
photo

Shlomi

E-mail

Personal Profile:

Professional Interests:

 

Watch this Author's files

 

Comments and Ratings by Shlomi View all
Updated File Comments Rating
22 Jul 2009 Shaded time series Plot time series one above the other with coloured strips highlighting interesting features. Author: Carl Fischer

if the indicator is a row vector the function doesn't work properly. I added the simple command of indicator = indicator(:); in my code. You should add it too

19 Jun 2009 xml_io_tools Read XML files into MATLAB struct and writes MATLAB data types to XML Author: Jaroslaw Tuszynski

I work with these functions all the time. You did a megnificent job.
I have a sugesttion for improvment: The fact that the item notaion works only for structs that are arrays of size larger than 1 creates xml-files with different hierarchy depending on the structure size. When some other program needs to read this xml it becomes a problematic issue.
So... I suggest that you add a preferance entry that forces item notation even for structs of length 1.

Thanks a lot for this submition & keep up the good work.

24 Nov 2008 SORTFIELDS SORTFIELDS sort values in all fields within a structure. Author: Ian Howat

It'll be also useful if you return the parameter 'I' in the same manner that the sort function does. 'I' should be an array or cell array in the case that 'SORTBYFIELDS' was not used.

24 Nov 2008 SORTFIELDS SORTFIELDS sort values in all fields within a structure. Author: Ian Howat

This function is just what I looked for. Thanks.
I suggest you add another option to sort the fields according to a supplied variable and not only according to one of the fields.
It is a complimentary option to 'SORTBYFIELD' and can be called 'SORTBYVAR'.

 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com