Community Profile # Christoph

Last seen: 2 months ago Active since 2012

#### Statistics

All
• • • • • • #### Content Feed

View by

Why is the POLYFIT function in MATLAB unable to find a fit over my data values?
@Shaik: Basically, you have to exploit the binomial theorem http://en.wikipedia.org/wiki/Binomial_theorem to get a formula for a...

8 years ago | 0

Matlab only opens first frame of multi-page tiff stack
ImageJ only writes the first IFD for TIFF files larger than 4GB at the beginning of the file. The other IFD entries are placed ...

9 years ago | 1

| accepted

Does the TODO/FIXME Report work with m-files in a package?
This is a known issue with the Todo/Fixme report. You can 1) Remove the calls to urldecode in lines 152 and 157 of dofixrpt.m,...

9 years ago | 1

| accepted

Solved

Bullseye Matrix
Given n (always odd), return output a that has concentric rings of the numbers 1 through (n+1)/2 around the center point. Exampl...

10 years ago

Problem

Design matrix from eigenvalues
Write a function that takes one input argument n and outputs a (n x n) square matrix A with the following properties: -A has...

10 years ago | 0 | 13 solvers

Solved

Design matrix from eigenvalues
Write a function that takes one input argument n and outputs a (n x n) square matrix A with the following properties: -A has...

10 years ago

Solved

Nearest Numbers
Given a row vector of numbers, find the indices of the two nearest numbers. Examples: [index1 index2] = nearestNumbers([2 5 3...

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

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

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

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

10 years ago

Solved

Fibonacci sequence
Calculate the nth Fibonacci number. Given n, return f where f = fib(n) and f(1) = 1, f(2) = 1, f(3) = 2, ... Examples: Inpu...

10 years ago

Solved

Determine whether a vector is monotonically increasing
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...

10 years ago

Solved

Find all elements less than 0 or greater than 10 and replace them with NaN
Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN. Example: Input ...

10 years ago

Solved

Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

10 years ago

Solved

Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

10 years ago