Rank: 72 based on 643 downloads (last 30 days) and 44 files submitted
photo

us

E-mail

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Files Posted by us View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
20 Jun 2010 Published MATLAB Files fdep: a pedestrian function dependencies finder FDEP dissects ML files and iteratively looks for all user defined functions used during runtime Author: us nested, path, files, function, depfun, mlint 101 42
  • 4.92857
4.9 | 29 ratings
20 Jun 2010 Published MATLAB Files farg: a pedestrian M-file parser showing all used functions' syntax parses an M-file searching for functions and prints their exact, literal syntax Author: us development environme..., argument list, script, function, nested, anonymous 11 3
  • 5.0
5.0 | 1 rating
01 Jun 2010 Screenshot cvar: a pedestrian variable name checker CVAR checks the names of variables for potential conflicts with know functions or built-ins Author: us variable, name, which, exist 1 0
27 May 2010 Screenshot vsize: a pedestrian variable decoder VSIZE determines the full anatomy for named or unnamed variables of any depth and complexity Author: us whos, ndims, size, numel, length, class 21 5
  • 5.0
5.0 | 5 ratings
08 May 2010 Screenshot yapp: a pedestrian Yet Another Parser Parser YAPP is a highly speed optimized input parser collecting unix-style option(s)/value(s) Author: us parser 2 0
Comments and Ratings by us View all
Updated File Comments Rating
02 Aug 2010 cprintf: a pedestrian ND array formatting and display utility cprintf converts an ND array or ND cell array to a 2D character array and - optionally - a table Author: us

hi cyberfrog

unfortunately, this is not possible...
you have to create the complete CELL in your loop and append it afterwards using the -fa option...
note: you could use the -Lc option to create the column labels at write-time...

us

22 Jul 2010 GetFullPath Full path name for partial or relative path Author: Jan Simon

jan

this should be corrected
- System.IO.FileInfo is a .NET component (available only in more recent ML versions)
- java.io.File is the java class

urs

21 Jun 2010 pdfapp: a pedestrian pdf concatenator PDFAPP appends PDF files to a new PDF file Author: us

thanks for your comments, mark

so far, we never ran into this problem...

a few thoughts
1) PDFAPP only creates the input to GHOSTSCRIPT and nothing else; in particular, it does not open/change/etc the PDF files...
2) hence, it all depends on how your GS version is handling your PDFs, which might be in a compressed format (just a guess)...

here's an example, which shows a reasonably sized output

surf(peaks(64));
print -dpdf -r600 ex_01.pdf;
print -dpdf -r600 ex_02.pdf;
pdfapp foo ex_01.pdf ex_02.pdf;
%{
PDFAPP> F:\usr\matlab\TMP\fex\ags\test\foo.pdf
1 > F:\usr\matlab\TMP\fex\ags\test\ex_01.pdf
2 > F:\usr\matlab\TMP\fex\ags\test\ex_02.pdf
PDFAPP> F:\usr\matlab\TMP\fex\ags\test\foo.pdf [260 kb]
%}
ls -latr *.pdf
%{
-rw---a 133978 6-21-2010 9:42p ex_01.pdf
-rw---a 133978 6-21-2010 9:42p ex_02.pdf
-rw---a 266557 6-21-2010 9:43p foo.pdf
%}
d=dir('ex_*.pdf');
ds=sum([d.bytes])
% ds = 267956
% thus, in this case, the output is even slightly smaller...

us

17 Jun 2010 fdep: a pedestrian function dependencies finder FDEP dissects ML files and iteratively looks for all user defined functions used during runtime Author: us

andrew

unfortunately: no...
one of the reasons why the .EVAL. group is collected separately by fdep and a warning flag is displayed if any such construct is found...

which, in turn, is one of the reasons why one should follow these rules
- do NOT use EVAL
- use FEVAL with function handles, only
note:
feval(@sind,30)
will correctly find the call to SIND...

sorry
us

03 Jun 2010 Seed generator using 'current' World Population count Generates a seed that could be used to set the state for random number generation in matlab. Author: Pranam Janney

please, remove this completely useless submission...

??? Undefined function or method 'read_specific_data' for input arguments of
type 'char'.

us

Comments and Ratings on us' Files View all
Updated File Comment by Comments Rating
02 Apr 2013 mtit: a pedestrian major title creator MTIT creates a major title in a figure with many axes Author: us Adam

Thanks. Great function, works well.

My only complaint is that line 136:

axes(oah);

causes a figure's 'Visible' property to be set to 'on' (I had turned it off to save time and resources). A better solution might be:

set(figure_handle,'CurrentAxes',axes_handle)

which updates the current axis without changing the state of the parent figure, as documented in the help file for the "axes" command (doc axes). I don't know how that will affect the order of the figure's 'Children' property though.

26 Mar 2013 fdep: a pedestrian function dependencies finder FDEP dissects ML files and iteratively looks for all user defined functions used during runtime Author: us Wolinsky, Matt

Very useful tool, and fast!

It worked great for me, except for one issue: if the input function calls subfun.m only from within an anonymous function, then fdep() does not find it.

In other words if myfun.m has the lines

Sfunc=@(x)subfun(x);
x=rand;
y=Sfunc(x);

then for p=fdep('myfun'), p.fun does NOT contain subfun.m

This came up because I tend to use anonymous functions as aliases a lot, e.g. Fab=@(c,d)F(a,b,c,d)

08 Mar 2013 wdisp: a pedestrian command window waitbar Creates a waitbar-like display in the command window. Author: us Reyes-Puerta, Vicente

Hi,
I just thought of a small tweak in the code. By using the fprintf() function instead of disp(), it is possible to avoid the flickering of the command window when it already has a scrollbar (which is actually irritating).

Here the body of the modified function:

if ~nargin & ~nargout
help wdisp;
elseif nargin == 1
fprintf(repmat(char(8),1,par));
par=0;
elseif nargin == 2
fprintf(str);
par=par+length(str);
else
par=0;
end

And here a small example to use the modified version of wdisp():

t='-\|/';
tl=wdisp( 0,num2str(0));
for i=1:40
tl=wdisp(tl);
tl=wdisp(tl,sprintf('count %3d %s',i,repmat('.',1,i)));
pause(.1);
end
disp(' ');

Hope this helps someone :)
Vicente

01 Mar 2013 mtit: a pedestrian major title creator MTIT creates a major title in a figure with many axes Author: us Greg

As Kris Thielemans points out, if you specify a Y offset without specifying an X offset, the value will be applied to the title's X offset. The user can circumvent the bug by specifying a 0 offset for x in the command call. The bug can be fixed in the code by moving line 155 ("io=io+1;") in the "get_off" function to before the if statement (say to a new line 154).

08 Feb 2013 fdep: a pedestrian function dependencies finder FDEP dissects ML files and iteratively looks for all user defined functions used during runtime Author: us Paul

WOW! brilliant and fast. Highly recommend! Thank you

Top Tags Applied by us
string, matrices, array, path, cell
Files Tagged by us View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
20 Jun 2010 Published MATLAB Files fdep: a pedestrian function dependencies finder FDEP dissects ML files and iteratively looks for all user defined functions used during runtime Author: us nested, path, files, function, depfun, mlint 101 42
  • 4.92857
4.9 | 29 ratings
20 Jun 2010 Published MATLAB Files farg: a pedestrian M-file parser showing all used functions' syntax parses an M-file searching for functions and prints their exact, literal syntax Author: us development environme..., argument list, script, function, nested, anonymous 11 3
  • 5.0
5.0 | 1 rating
01 Jun 2010 Screenshot cvar: a pedestrian variable name checker CVAR checks the names of variables for potential conflicts with know functions or built-ins Author: us variable, name, which, exist 1 0
27 May 2010 Screenshot vsize: a pedestrian variable decoder VSIZE determines the full anatomy for named or unnamed variables of any depth and complexity Author: us whos, ndims, size, numel, length, class 21 5
  • 5.0
5.0 | 5 ratings
08 May 2010 Screenshot yapp: a pedestrian Yet Another Parser Parser YAPP is a highly speed optimized input parser collecting unix-style option(s)/value(s) Author: us parser 2 0

Contact us