I am a MathWorks consultant:

http://www.mathworks.com/services/consulting/meet-our-team/index.html#paul_peeling

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 months ago

Submitted

Export Machine Learning Models to PMML

Export MATLAB machine learning models to the Predictive Modelling Markup Language (PMML) format

1 year ago | 3 downloads |

Submitted

mathworks/robust-matlab-2018

Code and Examples for "Developing Robust MATLAB Code"

1 year ago | 10 downloads |

Submitted

RobustCodeExpo2016

This toolbox accompanies the MATLAB UK Expo Masterclass "Developing Robust MATLAB Code and Apps"

3 years ago | 4 downloads |

Submitted

RayShapeArticle_FEX.zip

Solving Large Geometric and Visualization Problems with GPU Computing in MATLAB

3 years ago | 5 downloads |

Channel

My Laptop battery

My laptop has two batteries. These are its remaining charge percentages

4 years ago

Solved

Too mean-spirited

Find the mean of each consecutive pair of numbers in the input row vector. For example, x=[1 2 3] ----> y = [1.5 2.5] x=[1...

5 years ago

Problem

What day is it?

Tell me what day is it. Return the full name of the day of the week as a string. e.g. It's June 12th 2014, so your function s...

5 years ago | 2

Solved

Circle area using pi

Given a circle's radius, compute the circle's area. Use the built-in mathematical constant pi.

5 years ago

Solved

Bottles of beer

Given an input number representing the number of bottles of beer on the wall, output how many are left if you take one down and ...

5 years ago

Solved

Number of Horns on a unicorn!

Calculate the number of horns on a *unicorn*! And I'm talking about a unicorn with not more than one horn on it!

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

5 years ago

Solved

Swap the input arguments

Write a two-input, two-output function that swaps its two input arguments. For example: [q,r] = swap(5,10) returns q = ...

5 years ago

Solved

Test within tolerance

Given a vector of experimental data, D, and a vector of truth data, T, return FALSE if any +/- errors (D-T) are outside a given ...

5 years ago

Solved

Integer Sequence - 1

Check the test suite to determine the relationship between input integer scalar and output integer scalar.

5 years ago

Solved

Create a row array using double colon operator

Create a row array from 9 to 1, using the double colon operator.

5 years ago

Solved

Distance walked 1D

Suppose you go from position 7 to 10 to 6 to 4. Then you have walked 9 units of distance, since 7 to 10 is 3 units, 10 to 6 is 4...

5 years ago

Problem

Find the longest match inside two strings

Given two strings, find the longest string which is contained within both strings. e.g. the longest string that is contained ...

5 years ago | 1

Solved

How to find the position of an element in a vector without using the find function

Write a function posX=findPosition(x,y) where x is a vector and y is the number that you are searching for. Examples: fin...

5 years ago

Solved

Pizza!

Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

5 years ago

Solved

Find the alphabetic word product

If the input string s is a word like 'hello', then the output word product p is a number based on the correspondence a=1, b=2, ....

7 years ago

Solved

Binary numbers

Given a positive, scalar integer n, create a (2^n)-by-n double-precision matrix containing the binary numbers from 0 through 2^n...

7 years ago

Problem

Partial sorting algorithm

Return the top k elements of an input vector. A comparison function compareFcn(m,n) is provided to compare individual elements o...

7 years ago | 1

Solved

Partial sorting algorithm

Return the top k elements of an input vector. A comparison function compareFcn(m,n) is provided to compare individual elements o...

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

7 years ago