Solved

Square Digits Number Chain Terminal Value (Inspired by Project Euler Problem 92)

Given a number _n_, return the terminal value of the number chain formed by summing the square of the digits. According to the P...

6 months ago

Solved

Fibonacci-Sum of Squares

Given the Fibonacci sequence defined by the following recursive relation, * F_n = F_(n-1) + F_(n-2) * where F_0 = 0 and F_1 ...

7 months ago

Solved

Alternating sum

Given vector x, calculate the alternating sum y = x(1) - x(2) + x(3) - x(4) + ...

7 months ago

Solved

Sum of first n terms of a harmonic progression

Given inputs a, d and n, return the sum of the first n terms of the harmonic progression a, a/(1+d), a/(1+2d), a/(1+3d),....

7 months ago

Solved

Return the Fibonacci Sequence

Write a code which returns the Fibonacci Sequence such that the largest value in the sequence is less than the input integer N. ...

7 months ago

Solved

Project Euler: Problem 6, Natural numbers, squares and sums.

The sum of the squares of the first ten natural numbers is, 1^2 + 2^2 + ... + 10^2 = 385 The square of the sum of the first ...

7 months ago

Solved

Project Euler: Problem 2, Sum of even Fibonacci

Each new term in the Fibonacci sequence is generated by adding the previous two terms. By starting with 1 and 2, the first 10 te...

7 months ago

Solved

Sum all integers from 1 to 2^n

Given the number x, y must be the summation of all integers from 1 to 2^x. For instance if x=2 then y must be 1+2+3+4=10.

7 months ago

Solved

Pentagonal Numbers

Your function will receive a lower and upper bound. It should return all pentagonal numbers within that inclusive range in ascen...

1 year ago

Solved

Pernicious Anniversary Problem

Since Cody is 5 years old, it's pernicious. A <http://rosettacode.org/wiki/Pernicious_numbers Pernicious number> is an integer w...

1 year ago

Solved

Tick. Tock. Tick. Tock. Tick. Tock. Tick. Tock. Tick. Tock.

Submit your answer to this problem a multiple of 5 seconds after the hour. Your answer is irrelevant; the only thing that matte...

1 year ago

Solved

Energy of a photon

*⚛ ☢ ⚛ ☢ ⚛ ☢ ⚛* Given the frequency F of a photon in giga hertz. Find energy E of this...

1 year ago

Solved

How to subtract?

*± ± ± ± ± ± ± ± ± ± ±* * Imagine you need to subtract one...

1 year ago

Submitted

IMAQMOTION - Image acquisition motion detection

A live image acquisition motion detection GUI.

2 years ago | 9 downloads |

Submitted

IMAQCALC - Image acquisition calculator

An image acquisition calculator to calculate the expected acquisition rate.

2 years ago | 0 downloads |

Submitted

IMAQPLOT - Preview video data using callbacks

Demonstration of previewing Image Acquisition Toolbox video using Handle Graphics and callbacks.

2 years ago | 0 downloads |

Submitted

Motion Detection with Image Acquisition Toolbox & Simulink

Motion detection algorithm in Simulink using the Image Acquisition and Signal Processing Toolbox.

2 years ago | 6 downloads |

Submitted

Ghosting Demo

GUI showing alpha blending of streamed image pairs.

2 years ago | 1 download |

Submitted

Line value GUI

Analyze the intensity of an acquired image by line.

2 years ago | 0 downloads |

Submitted

Custom File Format Logging

Allows users to define custom format for Image Acquisiton Toolbox file logging.

2 years ago | 1 download |

Submitted

Timed autosave

Periodically saves the contents of the workspace to a mat file.

2 years ago | 2 downloads |

Answered

This Images are effected by which noises?

That image looks like you are returning your image in the YCbCr color space but treating it as an RGB image. See http://www.math...

This Images are effected by which noises?

That image looks like you are returning your image in the YCbCr color space but treating it as an RGB image. See http://www.math...

4 years ago | 0

Answered

Trouble with videoinput and dcam device

You are using a Logitech camera which is a webcam. The |dcam| adaptor does not support webcams. If you are using the |videoinput...

Trouble with videoinput and dcam device

You are using a Logitech camera which is a webcam. The |dcam| adaptor does not support webcams. If you are using the |videoinput...

4 years ago | 1

Answered

How do you access both camera sensors of the Bumblebee2 camera?

I haven't used the BumbleBee2, but the BumbleBee camera would return the data from both sensors as a single image. If each senso...

How do you access both camera sensors of the Bumblebee2 camera?

I haven't used the BumbleBee2, but the BumbleBee camera would return the data from both sensors as a single image. If each senso...

4 years ago | 0

| accepted

Solved

Subset Sum

Given a vector v of integers and an integer n, return the the indices of v (as a row vector in ascending order) that sum to n. I...

4 years ago

Solved

Interpolator

You have a two vectors, a and b. They are monotonic and the same length. Given a value, va, where va is between a(1) and a(end...

4 years ago

Solved

Clean the List of Names

Given a list of names in a cell array, remove any duplications that result from different capitalizations of the same string. So...

4 years ago

Solved

Test for balanced parentheses

Given the input inStr, give the boolean output out indicating whether all the parentheses are balanced. Examples: * If ...

4 years ago

Solved

Remove the polynomials that have positive real elements of their roots.

The characteristic equation for a dynamic system is a polynomial whose roots indicate its behavior. If any of the <http://www.ma...

4 years ago

Solved

DNA N-Gram Distribution

Given a string s and a number n, find the most frequently occurring n-gram in the string, where the n-grams can begin at any poi...

4 years ago