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

1 year ago | 0

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

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

5 years ago | 0

| accepted

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

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

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

6 years ago | 1

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

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

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

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

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

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

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

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

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

6 years ago

Solved

Determine if input is odd

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

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

6 years ago