Rank: 14 based on 1502 downloads (last 30 days) and 37 files submitted
Personal Profile:

Matt holds a master's degree in Mechanical Engineering, and a bachelor's degree in Physics. He is now employed at the Idaho National Lab, where he works in fuels characterization. His main work is to develop new material properties measurement techniques, for which he uses MATLAB daily. He enjoys his family, coding, and the great Idaho countryside.
The image shows off some MATLAB swag I have collected over the years.

Professional Interests:
MATLAB, COMSOL, Thermal characterization, c++

 

Watch this Author's files

 

Files Posted by Matt View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
31 Aug 2012 Screenshot N_PERMUTE_K All possible permutations of the elements of set N, taken K at a time, with repetition. Author: Matt Fig c, combinations, multisets, choose, combinatorics, nchoosek 66 24
  • 4.9
4.9 | 11 ratings
20 Jan 2012 Screenshot MATLABTETRIS Another MATLAB version of the classic game, Tetris. Author: Matt Fig fun, tetris, game, gui, graphics, patch 89 11
  • 4.6
4.6 | 11 ratings
13 Apr 2011 Screenshot LINECMENU Utility for creating a standard uicontextmenu for line objects. Author: Matt Fig uicontextmenu, uimenu, line, dualcolorplot, plot, utility 10 2
  • 5.0
5.0 | 1 rating
10 Sep 2010 Screenshot RCUMSUMC RCUMSUM cumulative sum of elements, restarted after every zero. Author: Matt Fig cumsum, cumprod 0 0
09 Sep 2010 Screenshot COMBINATOR -combinations AND permutations Returns 1 of 4 different samplings on the set 1:N, taken K at a time. Author: Matt Fig combinations, combinatorics, set, permutations, perms, nchoosek 84 21
  • 5.0
5.0 | 12 ratings
Comments and Ratings by Matt View all
Updated File Comments Rating
05 Feb 2013 gaussleg Calculates the integral of function f from a to b using ngp Gauss points. Author: Matt Fig

Giuseppe, what are you talking about??

>> f=inline('sin(x)/x');
>> gaussleg(f,-1,1,8)

ans =

1.8922

>> f=@(x) sin(x)./x;
>> gaussleg(f,-1,1,8)

ans =

1.8922

>> version

ans =

7.14.0.739 (R2012a)

15 Jan 2012 MATLABTETRIS Another MATLAB version of the classic game, Tetris. Author: Matt Fig

Thanks for your comment Mingjing! I am surprised that the game is sluggish on your laptop, as I tested it on 3 laptops out of concern over its graphics-intensive nature. I guess my sample was too small!

One of the goals in making the game was to be able to have everything in one file, which is why I didn't use an image (or any of the other approaches I could have). Now I wonder if I could created the image from repmatting a hard-coded matrix inside the file? I will look into this in the coming weeks when I get time, and see if it speeds things up at all. Thanks for the idea!

13 Jan 2012 Band matrix generation Generates a band matrix Author: Catalin Serban

Caitlin, why did you submit two identical files? Did you do this by mistake, perhaps?

Also, you really should at least familiarize yourself with the ONES function in MATLAB, it would be most useful in your function...

01 Jul 2011 Choosse randomly number of elements from a vector Choosse randomly a number of elements from a vector. Randomly change the position of the vector Author: Dave Correa

Jan, you are absolutely correct. I made a mistake in understanding what this was supposed to do. Thanks for the catch.

Good thing I didn't provide a rating!

30 Jun 2011 Choosse randomly number of elements from a vector Choosse randomly a number of elements from a vector. Randomly change the position of the vector Author: Dave Correa

Why not use the simpler:

out = ini + ceil((fin-ini)*rand(1,num));

Comments and Ratings on Matt's Files View all
Updated File Comment by Comments Rating
01 May 2013 41 Complete GUI Examples 41 working GUIs to read and learn. Author: Matt Fig Carter, Rebecca

27 Apr 2013 COMBINATOR -combinations AND permutations Returns 1 of 4 different samplings on the set 1:N, taken K at a time. Author: Matt Fig Peter

Created a newsgroup profile just to add this rating!

25 Apr 2013 41 Complete GUI Examples 41 working GUIs to read and learn. Author: Matt Fig mat

thanks for sharing these!! very helpful

11 Apr 2013 41 Complete GUI Examples 41 working GUIs to read and learn. Author: Matt Fig Ravari, Emad

06 Apr 2013 axescenter Puts axes in the center of a plot. Zooming, panning and some command line manipulations allowed. Author: Matt Fig Moreland, Heather

This is great! Just once question. Is there a way to keep the "box" around the figure so as to sort of frame it? Here is my code

function z=graph(x)
a=0.5;
%
xmin=-0.4;
xmax=1.4;
dx=0.01;
%
x=[xmin:dx:xmax];
%
z=x.*(1-x).*(x-a);
%
plot(x,z)
axescenter

Any suggestions would be greatly appreciated. Thanks.

Top Tags Applied by Matt
self_rating, combinatorics, gui, plot, combinations
Files Tagged by Matt View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
20 Mar 2013 Screenshot Plot and compare histograms; pretty by default Compares multiple sets of data elegantly. Set bins and axis bounds to be appropriate for the data. Author: Jonathan C. Lansey histogram, bins, bin size, axis bounds, automatic, compare 111 14
  • 4.81818
4.8 | 11 ratings
12 Sep 2012 Screenshot Watermark Project (Watermarking) An application that can be used to hide "ascii text" or "images" into another image using watermark Author: Francesco Pizzo image processing, information encryptin..., self_rating, watermark, gui, communications 140 6
  • 4.83333
4.8 | 6 ratings
31 Aug 2012 Screenshot N_PERMUTE_K All possible permutations of the elements of set N, taken K at a time, with repetition. Author: Matt Fig c, combinations, multisets, choose, combinatorics, nchoosek 66 24
  • 4.9
4.9 | 11 ratings
20 Feb 2012 FEATURE EXTRACTION FOR CHARACTER RECOGNITION EXTRACTS FEATURE VECTORS FROM SINGLE CHARACTER IMAGES Author: Dinesh Dileep Gaurav feature extraction, geometric, english character, pattern recognition, optical character rec..., feature vector 197 13
  • 5.0
5.0 | 6 ratings
20 Jan 2012 Screenshot MATLABTETRIS Another MATLAB version of the classic game, Tetris. Author: Matt Fig fun, tetris, game, gui, graphics, patch 89 11
  • 4.6
4.6 | 11 ratings

Contact us