Solved

Duration of a trip in minutes

Input is a string which includes the duration of a trip. Convert the duration to minutes. For example if the duration of a t...

4 meses ago

Solved

Alternative Dimensions

Given a multidimensional matrix, transform the matrix so the dimensions are in the order given by variable ord. For example, giv...

4 meses ago

Solved

String Array Basics, Part 2: Convert String Array to Cell Array; No Missing Values

<http://www.mathworks.com/help/matlab/characters-and-strings.html String array> and cell array are two types of containers for s...

4 meses ago

Solved

Red and green towers

Frankie has a large number of wooden cubes, painted in red and green. He is building little towers with his cubes, by stacking t...

4 meses ago

Solved

How long does it take to run a bath?

Given the *volume flow rate* (volume/time) of a faucet and the *volume* of a bath tub, find the amount of time it takes to fill ...

4 meses ago

Solved

Create a v-notch vector without "sort" function

Given a vector vec, create a v-shaped vector as shown below: vec = [ 10 2 3 89 5 7 90 0 12] ...

4 meses ago

Solved

normalize group of numbers to integers

Hi guys! I have a group of 4 numbers x,y,z,w which comes from 4 integers multiplied with a common factor. [x,y,z,w] = c [i,j,k,...

4 meses ago

Solved

Primes Faster for Large N

This Challenge is to improve the "primes" function for speed. This may be accomplished by fixing memory usage. The Matlab fun...

4 meses ago

Solved

Decoding : Find the value

'u' in the function below is of type char or string and 'v' is of type int or double. function y = your_fcn_name( u, v) ...

4 meses ago

Solved

Linear system solve

Solve a linear set of equations as described in the following link: http://www.people.virginia.edu/~teh1m/cody/linsolv1.pdf

4 meses ago

Solved

ismember: Enhanced Performance for 'rows' and width - Speed Scoring (66% savings)

The Challenge is to perform very fast the 'ismember' function for a long and wide array. The width of the array is expanded fro...

4 meses ago

Solved

Unique: Enhanced Performance - Large and Wide Array - Speed Improvement (66% savings)

The Challenge is to perform very fast unique function for a long and wide array. The data is small integer representing data ...

4 meses ago

Solved

ismember: Enhanced Time Performance for 'rows' - Speed Scoring (90% savings)

The Challenge is to perform very fast the 'ismember' function for a long and wide array. The data is small integer representi...

4 meses ago

Solved

Unique: Faster for options 'rows' and 'stable' for large array of uint8

Challenge: Execute unique(a,'rows','stable') Faster for 'a' being uint8. The "unique" function for the 'rows' and 'stable' o...

4 meses ago

Solved

Find: Faster Alternatives for Large Sorted/Unique Vectors

The Challenge is to create faster Find methods for large unique ascending vectors. Methods exist that are 1000 times faster t...

4 meses ago

Solved

Unique: Speed Enhancement for uint(8,16,32)

This Speed Performance Challenge is to optimize Unique for processing uint8/uint16/uint32 variables. *Input:* A (column vecto...

4 meses ago

Solved

REPMAT Enhancement - Faster for Large Row Replication of Vector

The Challenge is to modify repmat.m to maintain all of its normal functionality and enhance its performance for large row replic...

4 meses ago

Solved

Cubic Integer Constrained Solution

Find an integral non-trivial solution (x,y,z ~=0) (x=0 or y=0 or z=0 are trivial) for the cubic equation 987,654,321x + ...

4 meses ago