Solved

Number of Even Elements in Fibonacci Sequence

Find how many even Fibonacci numbers are available in the first d numbers. Consider the following first 14 numbers 1 1 2...

nästan 3 år ago

Solved

The 5th Root

Write a function to find the 5th root of a number. It sounds easy, but the typical functions are not allowed (see the test su...

nästan 3 år ago

Submitted

timed waitbar

A progress bar in a single line of code with ETA

mer än 4 år ago | 1 download |

Submitted

geoimread

Reads a sub region of a geotiff or geojp2 image.

nästan 5 år ago | 24 downloads |

Solved

Let's see how peculiar we can get

The task is to multiply two numbers. But do it in the most peculiar possible way.

nästan 5 år ago

Submitted

Ensemble MCMC sampler

An affine invariant ensemble Markov Chain Monte Carlo sampler

ungefär 5 år ago | 12 downloads |

Submitted

Markov Chain Monte Carlo sampling of posterior distribution

MCMC sampling of using a cascaded metropolis

mer än 5 år ago | 13 downloads |

Submitted

quantreg(x,y,tau,order,Nboot)

Quantile regression with bootstrapping confidence intervals

mer än 5 år ago | 29 downloads |

Submitted

netcdfobj - netcdf made easy.

Easy interface for reading netcdf files.

mer än 5 år ago | 3 downloads |

Submitted

depeval - check for dependencies

Test if a function will work without access to specific toolboxes

nästan 6 år ago | 1 download |

Submitted

Tidal fitting toolbox

fit tidal components to an observed series of sea level and use them for prediction

nästan 6 år ago | 29 downloads |

Submitted

ImGRAFT

An Image Georectification and Feature Tracking toolbox

nästan 6 år ago | 3 downloads |

Submitted

Use shorthand for text layout

Allows you to specify alignment options using single character flags.

nästan 6 år ago | 1 download |

Solved

Spot the outlier

All points except for one lie on a line. Which one is the outlier? Example: You are given a list of x-y pairs in a column ...

ungefär 6 år ago

Solved

Make a run-length companion vector

Given a vector x, return a vector r that indicates the run length of any value in x. Each element in r shows how many times the ...

ungefär 6 år ago

Solved

How many trades represent all the profit?

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

ungefär 6 år ago

Solved

Flag largest magnitude swings as they occur

You have a phenomenon that produces strictly positive or negative results. delta = [1 -3 4 2 -1 6 -2 -7]; Marching thr...

ungefär 6 år ago

Solved

Function Iterator

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

ungefär 6 år ago

Submitted

Cross wavelet and wavelet coherence

A cross wavelet and wavelet coherence toolbox

ungefär 6 år ago | 22 downloads |

Answered

what are the similarity measures between two signals

There are really many different measures and they are good at different things (e.g. phase correlation). The two measures y...

what are the similarity measures between two signals

There are really many different measures and they are good at different things (e.g. phase correlation). The two measures y...

ungefär 6 år ago | 0

Answered

How can I find the Difference between the Min and Max of all matching cells over different matrices?

I would put the 12 matrices in a 33x45x12 matrix. Then you can simply call max(x,3)-min(x,3) the '3' refers to take th...

How can I find the Difference between the Min and Max of all matching cells over different matrices?

I would put the 12 matrices in a 33x45x12 matrix. Then you can simply call max(x,3)-min(x,3) the '3' refers to take th...

ungefär 6 år ago | 0

Solved

Given a window, how many subsets of a vector sum positive

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

ungefär 6 år 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 ...

ungefär 6 år 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...

ungefär 6 år ago

Solved

Make a Palindrome Number

Some numbers like 323 are palindromes. Other numbers like 124 are not. But look what happens when we add that number to a revers...

ungefär 6 år ago

Solved

Summing Digits within Text

Given a string with text and digits, add all the numbers together. Examples: Input str = '4 and 20 blackbirds baked in a...

ungefär 6 år ago