Community Profile

# David Tarkowski

Last seen: 5 months ago Active since 2011

All

#### Content Feed

View by

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

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

5 years ago

Solved

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

5 years 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),....

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

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

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

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

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

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

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

6 years ago

Solved

Energy of a photon
*&#9883 &#9762 &#9883 &#9762 &#9883 &#9762 &#9883* Given the frequency F of a photon in giga hertz. Find energy E of this...

6 years ago

Solved

How to subtract?
*&plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn* * Imagine you need to subtract one...

6 years ago

Submitted

IMAQMOTION - Image acquisition motion detection
A live image acquisition motion detection GUI.

7 years ago | 2 downloads |

Submitted

IMAQCALC - Image acquisition calculator
An image acquisition calculator to calculate the expected acquisition rate.

7 years ago | 1 download |

Submitted

IMAQPLOT - Preview video data using callbacks
Demonstration of previewing Image Acquisition Toolbox video using Handle Graphics and callbacks.

7 years ago | 1 download |

Submitted

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

7 years ago | 2 downloads |

Submitted

Ghosting Demo
GUI showing alpha blending of streamed image pairs.

7 years ago | 1 download |

Submitted

Line value GUI
Analyze the intensity of an acquired image by line.

7 years ago | 1 download |

Submitted

Custom File Format Logging
Allows users to define custom format for Image Acquisiton Toolbox file logging.

7 years ago | 1 download |

Submitted

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

7 years ago | 1 download |

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

9 years ago | 0

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

9 years ago | 1

| accepted

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

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

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

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

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

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

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

9 years ago