Answered

Wait for user input after pressing button

# The GUIDE program creates guis using both an *.m file (what you posted) and a *.fig file (you did not post). You'd need to up...

Wait for user input after pressing button

# The GUIDE program creates guis using both an *.m file (what you posted) and a *.fig file (you did not post). You'd need to up...

7 years ago | 1

Answered

GUI stops working after pushbutton function has completed

I believe that the call back is written incorrectly. Your anonymous function syntax is telling the callback function that the s...

GUI stops working after pushbutton function has completed

I believe that the call back is written incorrectly. Your anonymous function syntax is telling the callback function that the s...

7 years ago | 0

Answered

please help me i m new user for matlab

Try |ginput| to get the coordinates.

please help me i m new user for matlab

Try |ginput| to get the coordinates.

7 years ago | 0

Answered

Getting this error: In an assignment A(I) = B, the number of elements in B and I must be the same.

The var at line 105 is a vector of complex numbers (size = 1x41); This causes delta_p_new to be a vector of (size 1x41) of co...

Getting this error: In an assignment A(I) = B, the number of elements in B and I must be the same.

The var at line 105 is a vector of complex numbers (size = 1x41); This causes delta_p_new to be a vector of (size 1x41) of co...

7 years ago | 0

Question

How can I install an App simultaneously with a toolbox?

I have a toolbox that I have created for deployment within our team. All the inherent functionality seems to work fine. Howe...

7 years ago | 2 answers | 0

Question

How do I create relative paths for functions packaged into Apps?

I have created a programmatic gui that will be deployed to our team through the 'Package App' functionality. This gui has hel...

7 years ago | 1 answer | 0

Submitted

writeCSV(filename,data,varargin)

WriteCSV provides a straight-forward method of writing *.csv files.

7 years ago | 1 download |

Solved

Elapsed Time

Given two date strings d1 and d2 of the form yyyy/mm/dd HH:MM:SS (assume hours HH is in 24 hour mode), determine how much time, ...

7 years ago

Solved

Cell joiner

You are given a cell array of strings and a string delimiter. You need to produce one string which is composed of each string fr...

7 years ago

Solved

The Goldbach Conjecture

The <http://en.wikipedia.org/wiki/Goldbach's_conjecture Goldbach conjecture> asserts that every even integer greater than 2 can ...

8 years ago

Solved

Return the 3n+1 sequence for n

A Collatz sequence is the sequence where, for a given number n, the next number in the sequence is either n/2 if the number is e...

8 years ago

Solved

Pascal's Triangle

Given an integer n >= 0, generate the length n+1 row vector representing the n-th row of <http://en.wikipedia.org/wiki/Pascals_t...

8 years ago

Solved

Renaming a field in a structure array

MATLAB has a <http://www.mathworks.com/help/techdoc/ref/setfield.html setfield> and a <http://www.mathworks.com/help/techdoc/ref...

8 years ago

Solved

Balanced number

Given a positive integer find whether it is a balanced number. For a balanced number the sum of first half of digits is equal to...

8 years ago

Solved

Target sorting

Sort the given list of numbers |a| according to how far away each element is from the target value |t|. The result should return...

8 years ago

Solved

Which values occur exactly three times?

Return a list of all values (sorted smallest to largest) that appear exactly three times in the input vector x. So if x = [1 2...

8 years ago

Solved

The Hitchhiker's Guide to MATLAB

Output logical "true" if the input is the answer to life, the universe and everything. Otherwise, output logical "false".

8 years ago

Solved

Is this triangle right-angled?

Given any three positive numbers a, b, c, return true if the triangle with sides a, b and c is right-angled. Otherwise, return f...

8 years ago

Solved

Area of an Isoceles Triangle

An isosceles triangle has equal sides of length x and a base of length y. Find the area, A, of the triangle. <<http://upload...

8 years ago

Solved

Side of an equilateral triangle

If an equilateral triangle has area A, then what is the length of each of its sides, x? <<http://upload.wikimedia.org/wikipe...

8 years ago

Solved

Length of a short side

Calculate the length of the short side, a, of a right-angled triangle with hypotenuse of length c, and other short side of lengt...

8 years ago

Solved

Area of an equilateral triangle

Calculate the area of an equilateral triangle of side x. <<http://upload.wikimedia.org/wikipedia/commons/e/e0/Equilateral-tr...

8 years ago

Solved

Length of the hypotenuse

Given short sides of lengths a and b, calculate the length c of the hypotenuse of the right-angled triangle. <<http://upload....

8 years ago

Solved

Is this triangle right-angled?

Given three positive numbers a, b, c, where c is the largest number, return *true* if the triangle with sides a, b and c is righ...

8 years ago

Solved

Sort a list of complex numbers based on far they are from the origin.

Given a list of complex numbers z, return a list zSorted such that the numbers that are farthest from the origin (0+0i) appear f...

8 years ago

Solved

Extract leading non-zero digit

<http://en.wikipedia.org/wiki/Benford%27s_law Benford's Law> states that the distribution of leading digits is not random. This...

8 years ago

Solved

Back and Forth Rows

Given a number n, create an n-by-n matrix in which the integers from 1 to n^2 wind back and forth along the rows as shown in the...

8 years ago

Solved

Find the numeric mean of the prime numbers in a matrix.

There will always be at least one prime in the matrix. Example: Input in = [ 8 3 5 9 ] Output out is 4...

8 years ago

Solved

Remove all the consonants

Remove all the consonants in the given phrase. Example: Input s1 = 'Jack and Jill went up the hill'; Output s2 is 'a ...

8 years ago