Rank: 6425 based on 0 downloads (last 30 days) and 0 file submitted
photo

Shaun

E-mail

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Comments and Ratings by Shaun View all
Updated File Comments Rating
09 Feb 2012 Othello Othello allows user to play Othello game in MATLAB GUI against a simple AI. Author: Stepen Sahrun
19 Sep 2011 export_fig Exports figures nicely to a number of vector & bitmap formats. Author: Oliver Woodford

Heads up, set(gcf,'color','none') is going away. I am getting warnings..

24 Apr 2011 Function To Generate Truth Table Condition Vectors This function efficiently generates a matrix of binary condition vectors for use in a truth table. Author: Paul Metcalf

rem(floor([0:((2^n)-1)].'* pow2(0:-1:-n+1)),2)

from JOS, did not compare speed

09 Apr 2010 Load Labview Binary Data labviewload.m loads in binary data files output by Labview. Author: Jeremy Smith

From the MatLab help:
A = fread(fileID, sizeA) reads sizeA elements into A and positions the file pointer after the last element read. sizeA can be an integer, or can have the form [m,n].

Why can't you accomplish this with one call to FREAD, then appropriate reshaping?

23 Sep 2009 Optimization Tips and Tricks Tips and tricks for use of the optimization toolbox, linear and nonlinear regression. Author: John D'Errico

Hi John,

As pointed out by Eric, I guess, for newer versions, you need an update.

Shaun

function stop = optimplot(x, optimValues, state)
% plots the current point of a 2-d otimization
stop = false;
hold on;
plot(x(1),x(2),'.');
drawnow

Contact us at files@mathworks.com