Rank: 1063 based on 131 downloads (last 30 days) and 8 files submitted
photo

Jonathan Lister

E-mail

Personal Profile:

 

Watch this Author's files

 

Files Posted by Jonathan Lister View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
29 Oct 2013 Screenshot dtmcursor DTMCURSOR implements a cross hair with the ability to set and measure values from x and/or y datums. Author: Jonathan Lister data exploration, gui, cursor, datum, oop, crosshair 8 7
09 Aug 2013 Screenshot SymPy CAS in MATLAB Enables using Python's SymPy CAS in MATLAB Author: Jonathan Lister symbolic, computer algebra, python, sympy 10 3
06 Aug 2013 Screenshot MAXIMA CAS in MATLAB Utilize MAXIMA CAS in MATLAB as a symbolic toolbox. Author: Jonathan Lister mathematics, maxima cas, cas, symbolic, interface 9 2
22 Jul 2013 Screenshot stackobj STACKOBJ is a handle class object that can be used to manage properties and callbacks in a stack. Author: Jonathan Lister callback stack, property stack, gui, oop 10 0
15 Jul 2013 Screenshot TeXed TeXed is a fork of Ben Hinkle's TeXEditor (#11946). Author: Jonathan Lister gui, tex, latex 18 3
  • 5.0
5.0 | 3 ratings
Comments and Ratings by Jonathan Lister View all
Updated File Comments Rating
06 Dec 2013 GraphViz-like tools for MATLAB Generate a function or script file call tree and plot it in a figure. Author: Jonathan Lister

@James, I have no idea what to tell you about that one. Sounds like the mathworks dot program is not in the right place or that your install of MATLAB has a problem. This has been working since at least 2009a, but I haven't tried it with 2013b yet. What platform and version are you using?

26 Oct 2013 dtmcursor DTMCURSOR implements a cross hair with the ability to set and measure values from x and/or y datums. Author: Jonathan Lister

@Kostas

Add this case to the keypress function for the feature you requested. I'll submit it to the FEX if this is what you're looking for.

case 'm'
%TODO:
%return all the x and y measurements to caller
xdt = get(this.xdatum,'XData');
ydt = get(this.ydatum,'YData');

if ~isempty(xdt)
xd = xdt(1);
else
xd = [];
end

if ~isempty(ydt)
yd = ydt(1);
else
yd = [];
end

%collect all x measurement values
nx = numel(this.xmline);
xm = zeros(1,nx);
for i=1:nx
x = get(this.xmline(i),'xdata');
xm(i) = x(1);
end

%collect all y measurement values (non-scaled)
ny = numel(this.ymline);
ym = zeros(1,ny);
for i=1:ny
y = get(this.ymline(i),'ydata');
ym(i) = y(1);
end

sf = this.ScaleFactor;
ys = (ym-sf{2})/sf{1};

% return column vectors with the datum as fist
% value in vector followed by all measurement
% locations
y = [yd ys];
x = [xd xm];
assignin('base','x_pos',x)
assignin('base','y_pos',y)

26 Oct 2013 dtmcursor DTMCURSOR implements a cross hair with the ability to set and measure values from x and/or y datums. Author: Jonathan Lister

Kostas, I will try to look into your suggestion. Most of my development time has been with another language lately. I'd apreciate a good rating... might help me be motivated ;)

10 Aug 2013 SymPy CAS in MATLAB Enables using Python's SymPy CAS in MATLAB Author: Jonathan Lister

The entry "Maxima Cas in Matlab" works better IMO.

08 Aug 2013 MAXIMA CAS in MATLAB Utilize MAXIMA CAS in MATLAB as a symbolic toolbox. Author: Jonathan Lister

to compute the definite integral:

result = eval(maxima('integrate(x^2+5*x+6,x,0,4)'))

result =
85.3333

Comments and Ratings on Jonathan Lister's Files View all
Updated File Comment by Comments Rating
16 Jul 2014 GraphViz-like tools for MATLAB Generate a function or script file call tree and plot it in a figure. Author: Jonathan Lister Christopher Pedersen

This appears to break under R2014B. Can be fixed by replacing line 282 with:
if verLessThan('matlab','8.4.0')
patchObj=cell2mat(patchObj); %original line 282
else
for i=1:numel(patchObj);
p(i) = patchObj{i};
end
patchObj = p;
end

16 Mar 2014 GraphViz-like tools for MATLAB Generate a function or script file call tree and plot it in a figure. Author: Jonathan Lister Christopher Pedersen

@James. I had the same error (on a mac).
You can replace line 134 with the following to explicitly tell matlab where to find mwdot:
foo = fullfile(matlabroot,'bin',lower(computer),matlabEngine);
[status,returnCode]=system([foo ' -Tplain ' dotFile]);

23 Dec 2013 GraphViz-like tools for MATLAB Generate a function or script file call tree and plot it in a figure. Author: Jonathan Lister James

@Jonathan, I am using 2013a and Mac OSX 10.9

06 Dec 2013 GraphViz-like tools for MATLAB Generate a function or script file call tree and plot it in a figure. Author: Jonathan Lister Jonathan Lister

@James, I have no idea what to tell you about that one. Sounds like the mathworks dot program is not in the right place or that your install of MATLAB has a problem. This has been working since at least 2009a, but I haven't tried it with 2013b yet. What platform and version are you using?

30 Nov 2013 GraphViz-like tools for MATLAB Generate a function or script file call tree and plot it in a figure. Author: Jonathan Lister James

I followed Michael's instruction and get the error:

Error using mGraphViz (line 137)
An error occurred when trying to run
the layout engine. The system said,
"/bin/bash: mwdot: command not found
".

(I can see that there is a mwdot executable is inside the /bin/maci64, and have tried copying it to a new folder /bin/bash with no success)

Contact us