Answered

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

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

1 year ago | 0

| accepted

Answered

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

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

3 years ago | 0

Answered

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

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

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

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

8 years ago | 0 | 9 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...

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

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

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

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

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

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

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

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

8 years ago

Solved

Determine if input is odd

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

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

8 years ago