Search Comments and Ratings

go

   
Date File Comment by Comment Rating
28 Nov 2014 41 Complete GUI Examples 41 working GUIs to read and learn. Author: Matt Fig James

hi. thanks for the useful info so far. however, i still have a question; how can i make an interactive listbox programmatically so that i can use it in a GUIDE built GUI?

25 Nov 2014 MATLABTETRIS Another MATLAB version of the classic game, Tetris. Author: Matt Fig priya

16 Nov 2014 41 Complete GUI Examples 41 working GUIs to read and learn. Author: Matt Fig Mariacarla

Thank you very much. It is a very complete work!

11 Nov 2014 N_PERMUTE_K All possible permutations of the elements of set N, taken K at a time, with repetition. Author: Matt Fig Grace

Hi, is this code has any limitation?

I used to find npermutek(2:14,7) and it showed

>> npermutek(2:14,7)
Error using zeros
Out of memory. Type HELP MEMORY for
your options.

Error in npermutek (line 87)
Matrix = zeros(L,K,CLS); %
Preallocation.

Anyway, this code is great!!

04 Nov 2014 41 Complete GUI Examples 41 working GUIs to read and learn. Author: Matt Fig Tan Nguyen

This is an amazing work

25 Oct 2014 41 Complete GUI Examples 41 working GUIs to read and learn. Author: Matt Fig Mani Ahmadian

Thank you very much. You are so generous.

17 Oct 2014 41 Complete GUI Examples 41 working GUIs to read and learn. Author: Matt Fig Khanh

08 Aug 2014 COMBINATOR -combinations AND permutations Returns 1 of 4 different samplings on the set 1:N, taken K at a time. Author: Matt Fig mohammad

please any help

03 Aug 2014 COMBINATOR -combinations AND permutations Returns 1 of 4 different samplings on the set 1:N, taken K at a time. Author: Matt Fig mohammad

please , help me

01 Aug 2014 COMBINATOR -combinations AND permutations Returns 1 of 4 different samplings on the set 1:N, taken K at a time. Author: Matt Fig mohammad

my friend , i have a problem when performing your program that's:
clc
clear
A=[1:29];
A=A(:);
combs = A(combinator(29,28,'c'))
when K is 28 the function is working well but when K is 27 combs = A(combinator(29,27,'c')) MATLAB gives me error:

combs = A(combinator(29,27,'c'))
Subscript indices must either be real positive integers or logicals.

from K=26 to 23 the function works normally and perfectly but K=22
combs = A(combinator(29,22,'c'))
Subscript indices must either be real positive integers or logicals.

and :
combs = A(combinator(29,21,'c'))
Subscript indices must either be real positive integers or
logicals.

and:when K=20
combs = A(combinator(29,20,'c'))
my computer become very heavy where I was forced to get out of the program

i don't complete the rest of numbers so that know what will happen with them

please Matt fig , how can i solve these problems ?
i want to tell you that i have vectors contain more than 1000 numbers not 29 numbers only and i will do this processes on them

30 Jul 2014 41 Complete GUI Examples 41 working GUIs to read and learn. Author: Matt Fig Mustafa

03 Jul 2014 COMBINATOR -combinations AND permutations Returns 1 of 4 different samplings on the set 1:N, taken K at a time. Author: Matt Fig Shane

Very helpful! A little scary to work with, because things get real big real fast, but this package deals with a difficult problem with great efficiency.

25 Jun 2014 axescenter Puts axes in the center of a plot. Zooming, panning and some command line manipulations allowed. Author: Matt Fig Robert

Works great! NB. seems to be incompatible with new graphics in the 2014b release, hope you can modify it to sense the matlab release and operate accordingly.

19 Jun 2014 41 Complete GUI Examples 41 working GUIs to read and learn. Author: Matt Fig CEC Landran

06 Jun 2014 41 Complete GUI Examples 41 working GUIs to read and learn. Author: Matt Fig piyush dugar

25 May 2014 COMBINATOR -combinations AND permutations Returns 1 of 4 different samplings on the set 1:N, taken K at a time. Author: Matt Fig pouya jamali

23 May 2014 COMBINATOR -combinations AND permutations Returns 1 of 4 different samplings on the set 1:N, taken K at a time. Author: Matt Fig Say Cook

Is there a version of this that allows for generating each combination (ex. each row in the matrix) in a loop, instead of generating one big matrix?

I have a large number of combinations to consider, of which I would only be saving a subset of them, and don't need the matrix at once (it would be too big anyways)... Thanks.

23 May 2014 COMBINATOR -combinations AND permutations Returns 1 of 4 different samplings on the set 1:N, taken K at a time. Author: Matt Fig Claudio

ATTENTION!

Tough the package is excellent and I will rate it with 5 stars, there is a BUG in the code involving a high number of combinations in that the last row is filled of zeros.

almacellesiti Fernandez pointed out the solution to the bug. Replace the following line

BC=prod(M-K+1:M) / (prod(1:K));

with

BC=round(prod(M-K+1:M) / (prod(1:K)));

and it works fine.

14 May 2014 41 Complete GUI Examples 41 working GUIs to read and learn. Author: Matt Fig Gil Bachar

Great submission, helps a lot making my own GUI

09 May 2014 41 Complete GUI Examples 41 working GUIs to read and learn. Author: Matt Fig Jason Oh

super thanks, Matt

13 Mar 2014 41 Complete GUI Examples 41 working GUIs to read and learn. Author: Matt Fig Salaheddin Hosseinzadeh

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 Mr Smart

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

Very practical, well-thought out examples. Thanks!

05 Dec 2013 h_trid Uses the Householder method to tridiagonalize a matrix. Author: Matt Fig Joe123

Nice work

12 Nov 2013 41 Complete GUI Examples 41 working GUIs to read and learn. Author: Matt Fig vladimir avalos

excellent examples!!!

12 Nov 2013 findsubmat Finds one matrix (a sub-matrix) within another. Author: Matt Fig James

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 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.

03 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

Thank you for such great work!
But I have a little problem. When I use this command
M = combinator(5,13,'p','r')
I get the foolowing error:

"??? Error using ==> zeros
Out of memory. Type HELP MEMORY for your options.
Error in ==> combinator>perms_rep at 155
PR = zeros(L,K,CN); % Preallocation.
Error in ==> combinator at 110
A = perms_rep(N,K); % strings"

Could you check what is wrong? Is it possible to avoid this error?

11 Sep 2013 Next Combination/Permutation Produces one comb/perm at a time. Both with/without repetition. Author: Matt Fig shiva

say if i have vectors like these
q1 = -40:dq:40;
q2 = -175:dq:0;
q3 = -250:dq:15;
q4 = -200:dq:200;
q5 = -40:dq:40;

how do i find all possible combination
Q = combination(q1,q2,q3,q4,q5);

the solution exist only if i choose dq >= 7
when i used the "allcomb" from FEX
or during for loop pre-allocation using the product of the length of the vectors

i'm looking for all possible combinations i.e., dq = 1, which for the above cases i get memory problems

your code looks promising except i dont know how to use them.

i always get this "@nextchoose/nestfunc"

06 Sep 2013 41 Complete GUI Examples 41 working GUIs to read and learn. Author: Matt Fig as

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

Impressive, never thought I can finds something like this. So intuitive, comprehensive and simple to use. Real life saver

26 Aug 2013 41 Complete GUI Examples 41 working GUIs to read and learn. Author: Matt Fig Brad

Super job and well thought out.

Very practical with numerous possible applications!!

26 Aug 2013 41 Complete GUI Examples 41 working GUIs to read and learn. Author: Matt Fig Zoltán Csáti

I found a bug in GUI_21. If I write 't' into the editbox (since two and three contains 't'), it cannot select which number should be displayed on the popup-menu. It is not a real bug, since it only produces a warning and can be fixed throuhg the GUI.
Anyway, this collection of GUIs is very useful.

21 Jul 2013 41 Complete GUI Examples 41 working GUIs to read and learn. Author: Matt Fig Jonathan Lister

Fig = figure('Name','Matt'); % LOL!!!

17 Jul 2013 41 Complete GUI Examples 41 working GUIs to read and learn. Author: Matt Fig Iman Ansari

13 Jul 2013 EXPAND Replicate and tile each element of an array. Author: Matt Fig Yair Altman

Now that R2013b has finally incorporated Bruno's efficient implementation (FEX 24499) into the built-in KRON function, I expect the balance of performance and memory to shift in favor of KRON. Of course, expand will continue to be better for anyone still using R2013a or earlier.

For additional alternative implementations, see http://www.mathworks.com/matlabcentral/newsreader/view_thread/326075

12 Jul 2013 41 Complete GUI Examples 41 working GUIs to read and learn. Author: Matt Fig Antonio Fuentes

Amazingly useful. Such a great work.

30 Jun 2013 N_PERMUTE_K All possible permutations of the elements of set N, taken K at a time, with repetition. Author: Matt Fig Philip

Great code! Is it at all feasible for the following ever to work?

nperutek(['A':'Z' '1':'9'],22

My initial though is not a chance in hell! i get an out of memory message when i try it with 10 length arrays.

Thanks

22 May 2013 41 Complete GUI Examples 41 working GUIs to read and learn. Author: Matt Fig Manini

How to place an image in the axes without brosing the image. By giving some path or filename ?

13 May 2013 41 Complete GUI Examples 41 working GUIs to read and learn. Author: Matt Fig bidisha

Awesome start for a beginner

01 May 2013 41 Complete GUI Examples 41 working GUIs to read and learn. Author: Matt Fig Rebecca Carter

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 Emad Ravari

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

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.

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

This very helpful beginers

13 Mar 2013 41 Complete GUI Examples 41 working GUIs to read and learn. Author: Matt Fig Alex

Awesome! Much appreciation Matt!

28 Feb 2013 41 Complete GUI Examples 41 working GUIs to read and learn. Author: Matt Fig Alberto

Contact us