Rank: 2512 based on 18 downloads (last 30 days) and 5 files submitted
photo

Andrey Popov

E-mail

Personal Profile:
Professional Interests:
control, controller design, metaheuristics

 

Watch this Author's files

 

Files Posted by Andrey View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
07 Nov 2011 extracthelp Extract the help information of all M function in a folder Author: Andrey Popov p code, pcode, extract, help, utilities 2 2
06 Nov 2011 Path tools - Dynamic Toolbox Management Dynamical toolbox path management. Developer's tweak. Author: Andrey Popov path navigation toolb... 4 0
  • 5.0
5.0 | 1 rating
06 Nov 2011 combineOpt Combine user provided option's structure with a default one Author: Andrey Popov structures, cell arrays, function, options, default, structure 2 1
29 Oct 2009 Permute a Matrix From given order of rearrangement constructs the permutation matrix P and computes B = P'*A*P Author: Andrey Popov permutate, matrix 3 2
  • 5.0
5.0 | 1 rating
23 Jul 2009 Screenshot SDF - Set the Figure Set the line width and fonts of a figure, as if using the File->Export setup in the figure menu Author: Andrey Popov figure, export, plot, font size, line width, graphics 7 4
  • 4.66667
4.7 | 3 ratings
Comments and Ratings by Andrey
Updated File Comments Rating
23 Jul 2009 SDF - Set the Figure Set the line width and fonts of a figure, as if using the File->Export setup in the figure menu Author: Andrey Popov

@us
Thanks for the idea. Already implemented.

Comments and Ratings on Andrey's Files View all
Updated File Comment by Comments Rating
08 Nov 2011 extracthelp Extract the help information of all M function in a folder Author: Andrey Popov Simon, Jan

I'd prefer "mkdir(foldername)" instead of "eval(['mkdir ' folder_name])".
The "fclose('all')" is not helpful, if a file cannot be opened. There is also no reason to close all files in case of success, prefer "fclose(F)".
Under Linux (and as far as I can see under modern Matlab versions under Windows also) the file separators are CHAR(10). Therefore checking for 13 is not secure.
You use "ind" as loop index of two nested loops. Although this might works, it is recommended to avoid this.

27 Jan 2010 Permute a Matrix From given order of rearrangement constructs the permutation matrix P and computes B = P'*A*P Author: Andrey Popov Elmar
09 Oct 2009 SDF - Set the Figure Set the line width and fonts of a figure, as if using the File->Export setup in the figure menu Author: Andrey Popov Dinh, Hung
28 Aug 2009 Permute a Matrix From given order of rearrangement constructs the permutation matrix P and computes B = P'*A*P Author: Andrey Popov Jos (10584)

I was a little sloppy .. I meant the second output ...

27 Aug 2009 Permute a Matrix From given order of rearrangement constructs the permutation matrix P and computes B = P'*A*P Author: Andrey Popov Jos (10584)

This function does not work (and rightfully so!) when 1) the input is not square or when idp does not contain a permutation of all N numbers between 1 and N (for instance [1 3 3]). However, such likely inputs lead to unfriendly error messages, so I suggest you add some error checks in your code.
Furthermore, P can be defined more easily as
  P = eye(size(A)) ;
  P = P(idp,:) ;
Finally, the help section is quite nice, but lacks a description of the third output. And, btw, is the copyright really needed given the BSD license. So, room for improvement.

Top Tags Applied by Andrey
cell arrays, combine, default, export, extract
Files Tagged by Andrey View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
07 Nov 2011 extracthelp Extract the help information of all M function in a folder Author: Andrey Popov p code, pcode, extract, help, utilities 2 2
06 Nov 2011 Path tools - Dynamic Toolbox Management Dynamical toolbox path management. Developer's tweak. Author: Andrey Popov path navigation toolb... 4 0
  • 5.0
5.0 | 1 rating
06 Nov 2011 combineOpt Combine user provided option's structure with a default one Author: Andrey Popov structures, cell arrays, function, options, default, structure 2 1
29 Oct 2009 Permute a Matrix From given order of rearrangement constructs the permutation matrix P and computes B = P'*A*P Author: Andrey Popov permutate, matrix 3 2
  • 5.0
5.0 | 1 rating
23 Jul 2009 Screenshot SDF - Set the Figure Set the line width and fonts of a figure, as if using the File->Export setup in the figure menu Author: Andrey Popov figure, export, plot, font size, line width, graphics 7 4
  • 4.66667
4.7 | 3 ratings

Contact us at files@mathworks.com