Answered
How to pass data from one GUI to another?
I am not clear on your question, but let me try to understand. You say the problem arises when your main GUI is called again. ...

15 years ago | 0

Answered
Generate random points inside a circle
Here is a function to do this without skew: function [X,Y] = rand_circ(N,x,y,r) % Generates N random points in a circle. ...

15 years ago | 4

Answered
Basics-
% Create an m-by-n matrix where each element is sum of row and col position. D = ones(m,n); [I,J] = find(D); D(:) = I...

15 years ago | 0

Answered
Vectorizing for loops
In addition to Walter's comment, this: diag(sqrt(L))*inv(E) is equivalent to the preferred: diag(sqrt(L))/E Also, it ...

15 years ago | 0

Answered
Simple MATLAB sum question.
Is this what you are after? b = zeros(3,1); for ii = 1:3 for jj = 1:3 b(ii)= b(ii) + A(ii,jj)*x(jj); ...

15 years ago | 0

Answered
Help with subfunction in GUI
I am not sure what you mean by a "subfunction of the callback" here. It looks like you are using a GUIDE GUI, which means that ...

15 years ago | 0

Answered
Changing alpha property on surface objects causes text objects in GUI to flip direction?
Would you post some code that reproduces what you see? For example, this does not reproduce what you are seeing on my machine: ...

15 years ago | 0

Answered
How do I remove the empty cells from a vector of cells?
Probably the fastest approach: strs = strs(~cellfun('isempty',strs)) % Call Built-in string

15 years ago | 10

Answered
Why does it not work to close my figure programmatically in MATLAB 7.11 (R2010b)?
You set the 'HandleVisibility' property of the figure to 'off'. When you do this, gcf does not see the figure. Here is your co...

15 years ago | 3

| accepted

Answered
How can the year 2011 be expressed as the sum of consecutive primes in MATLAB 7.11 (R2010b) ?
Another method: N = 2011; % Given P = primes(N/4); % Conservative estimate for ceiling M = N/11; % The mean [...

15 years ago | 2

Answered
Why does 1 - 2/3 - 1/3 not equal zero?
Ned! I am sure you know that the reason why (1 - 2/3 - 1/3) ~=0 is that MATLAB does its work in floating point arithmetic, not ...

15 years ago | 6

| accepted

Submitted


RCUMSUMC
RCUMSUM cumulative sum of elements, restarted after every zero.

15 years ago | 1 download |

0.0 / 5
Thumbnail

Submitted


COMBINATOR -combinations AND permutations
Returns 1 of 4 different samplings on the set 1:N, taken K at a time.

15 years ago | 6 downloads |

5.0 / 5
Thumbnail

Submitted


CHECKVARS
Checks for function masking by variables in an M-File.

16 years ago | 1 download |

0.0 / 5
Thumbnail

Submitted


NFACTORK
Find all factorings of N which have K elements.

16 years ago | 2 downloads |

4.0 / 5
Thumbnail

Submitted


41 Complete GUI Examples
41 working GUIs to read and learn.

16 years ago | 24 downloads |

5.0 / 5

Submitted


EXPAND
Replicate and tile each element of an array.

17 years ago | 1 download |

5.0 / 5
Thumbnail

Submitted


Next Combination/Permutation
Produces one comb/perm at a time. Both with/without repetition.

17 years ago | 2 downloads |

0.0 / 5
Thumbnail

Submitted


findsubmat
Finds one matrix (a sub-matrix) within another.

17 years ago | 1 download |

5.0 / 5
Thumbnail

Submitted


newtzero
Finds the root(s) of a function of one variable, including complex roots, using Newton's method.

17 years ago | 3 downloads |

4.3 / 5
Thumbnail

Submitted


PARTITIONS
Finds all partitions of a set, or only those partitions of a specified length. Includes a viewer.

17 years ago | 1 download |

5.0 / 5
Thumbnail

Submitted


ezgraph
Performs basic formatting of a plot with a single GUI.

17 years ago | 1 download |

5.0 / 5
Thumbnail

Submitted


SUBFIGURE
SUBFIGURE creates figures in tiled positions.

17 years ago | 2 downloads |

5.0 / 5
Thumbnail

Submitted


axescenter
Puts axes in the center of a plot. Zooming, panning and some command line manipulations allowed.

17 years ago | 2 downloads |

4.6 / 5
Thumbnail

Submitted


TRIGDEMO
Allows user to see how parameters affect plots of trigonometric functions.

17 years ago | 1 download |

0.0 / 5
Thumbnail

Submitted


ISLANDS
Finds all "islands" which are 4-connected components in a matrix.

17 years ago | 2 downloads |

5.0 / 5
Thumbnail

Submitted


guidegetter
Creates a standalone M-file GUI from a guide made GUI.

17 years ago | 1 download |

4.1 / 5
Thumbnail

Submitted


remindme
Issues a reminder at a specifice time.

17 years ago | 1 download |

5.0 / 5
Thumbnail

Submitted


h_trid
Uses the Householder method to tridiagonalize a matrix.

17 years ago | 1 download |

5.0 / 5

Submitted


rombquad
Performs Romberg quadrature.

17 years ago | 1 download |

4.75 / 5
Thumbnail

Load more