Rank: 21 based on 1843 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 permutations, combinations, multisets, probability, nchoosek, sample 105 25
  • 4.90909
4.9 | 12 ratings
20 Jan 2012 Screenshot MATLABTETRIS Another MATLAB version of the classic game, Tetris. Author: Matt Fig tetris, gui, game, fun, graphics, patch 191 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 21 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 10 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 combinatorics, permutations, combinations, set, perms, nchoosek 92 24
  • 5.0
5.0 | 14 ratings
Comments and Ratings by Matt View all
Updated File Comments Rating
05 Nov 2013 COMBINATOR -combinations AND permutations Returns 1 of 4 different samplings on the set 1:N, taken K at a time. Author: Matt Fig

Alesya,

That is a memory limitation on your computer. You are asking MATLAB to build a matrix that is (5^13)-by-13. This is a matrix with nearly 16 billion entries. In double precision this would require over 100 GB of RAM!

You probably need to do something different for your particular application.

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!

Comments and Ratings on Matt's Files View all
Updated File Comment by Comments Rating
13 Mar 2014 41 Complete GUI Examples 41 working GUIs to read and learn. Author: Matt Fig Hosseinzadeh, Salaheddin

Hi

I was wondering if you covered some topics that I'm looking for in your precious exampls.

1- How to make tabs for GUI, like new IE, firefox and ... they all have tabs on the top.

2- How to open a new GUI from within a GUI and pass the variables of the first GUI to second. Sometimes I can't squeez all the buttons and menues to keep te in the same form, I am thinking of makig ore commercial! lol

Specificly I want to know how to do these things when I'm using the GUIDE not writing the whole GUI with codes!

Many regards and thanks for sharing your experience and knwoledge for free ;)

10 Mar 2014 Resonant Ultrasound Spectroscopy (RUS) Calculates resonant frequencies and mode shapes for RUS. Author: Matt Fig colepfieffer

very good one

20 Feb 2014 41 Complete GUI Examples 41 working GUIs to read and learn. Author: Matt Fig francesco

matlab central confirms the choice upon other sw.

26 Dec 2013 41 Complete GUI Examples 41 working GUIs to read and learn. Author: Matt Fig Smart, Mr

20 Dec 2013 41 Complete GUI Examples 41 working GUIs to read and learn. Author: Matt Fig Sundquist, Matthew

Very practical, well-thought out examples. Thanks!

Contact us