Community Profile

Contact

Top 1% contributor

Easy-to-use interface for parsing function inputs in the form of parameter-value pairs.

4 downloads

2 years ago

Hi Bert, I ran into the same error message a day or two ago with a struct filled with instances of classes that were similarly ...

accepted

2

Answered 3 years ago

I'm not too familiar with graphics handles. Hopefully this is a quick question. Is it to simplify checks when setting or get...

2 Answers

0

Asked 3 years ago

Hi all, Is there an easy way to make text semitransparent in MATLAB? For instance, if I wanted a textbox label on a graph to ...

1 Answers

Asked 2 years ago

Hello all, I was trying to decide between using a containers.Map, fields of a struct, or properties of a class for a simple app...

A sequence of triangles is constructed in the following way: 1) the first triangle is Pythagoras' 3-4-5 triangle 2) the s...

Solve this!

1 year ago

Given four different positive numbers, a, b, c and d, provided in increasing order: a < b < c < d, find if any three of them com...

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

The longer side of a rectangle is three times the length of the shorter side. If the length of the diagonal is x, find the width...

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

If a rhombus has diagonals of length x and x+1, then what is the length of its side, y? <<http://upload.wikimedia.org/wikipe...

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

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

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

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

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

Given a vector: [1 0 -1 3 2 -3 1] and a window of 2, A sliding window would find: 1 + 0 = 1 0 - 1 = -1 ...

If given a letter from the set: [abc...xyz] and a shift, implement a shift cypher. Example: 'abc' with a shi...

Given a list of results from trades made: [1 3 -4 2 -1 2 3] We can add them up to see this series of trades made a profit ...

Determine the square root of the value the user has entered, n.

Input a row vector such as x=1:10. Now we need to construct a matrix with L rows,of which every row vector is a copy of x. E...

Given an input cell array of strings s, pick out the second column and turn it into a row vector of data. Missing data will be i...

The <http://en.wikipedia.org/wiki/Mandelbrot_set Mandelbrot Set> is built around a simple iterative equation. z(1) = c z...

You have a two vectors, a and b. They are monotonic and the same length. Given a value, va, where va is between a(1) and a(end...

Consider the following number system. Calculate the prime factorization for each number n, then represent the prime factors in a...

Given a handle fh to a function which takes a scalar input and returns a scalar output and an integer n >= 1, return a handle f...

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

Given the vector a, find the longest run of consecutive numbers that can be evenly divided by the same number d where d > 1. ...

Given the string a, find the longest palindromic sub-string b. So when a = 'xkayakyy'; you should return b = 'kayak';

This problem description is lifted from <http://en.wikipedia.org/wiki/Levenshtein_distance>. The Levenshtein distance betwee...

Load more