A résolu

The Goldbach Conjecture, Part 2

The <http://en.wikipedia.org/wiki/Goldbach's_conjecture Goldbach conjecture> asserts that every even integer greater than 2 can ...

environ 10 ans il y a

A résolu

Return a list sorted by number of occurrences

Given a vector x, return a vector y of the unique values in x sorted by the number of occurrences in x. Ties are resolved by a ...

environ 10 ans il y a

Réponse apportée

Why does MATLAB crash when I use the Image Acquisition Toolbox?

The first thing that I would check is that you are using the correct version of the Point Grey FlyCapture software. I believe th...

Why does MATLAB crash when I use the Image Acquisition Toolbox?

The first thing that I would check is that you are using the correct version of the Point Grey FlyCapture software. I believe th...

environ 10 ans il y a | 0

Réponse apportée

How can I adjust the contrast of a live video?

There isn't really a good way to get around this. What happens when you set the contrast while the preview is running is that th...

How can I adjust the contrast of a live video?

There isn't really a good way to get around this. What happens when you set the contrast while the preview is running is that th...

environ 10 ans il y a | 0

| A accepté

A résolu

Maximum running product for a string of numbers

Given a string s representing a list of numbers, find the five consecutive numbers that multiply to form the largest number. Spe...

plus de 10 ans il y a

A résolu

Find common elements in matrix rows

Given a matrix, find all elements that exist in every row. For example, given A = 1 2 3 5 9 2 5 9 3 2 5 9 ...

plus de 10 ans il y a

A résolu

Find relatively common elements in matrix rows

You want to find all elements that exist in greater than 50% of the rows in the matrix. For example, given A = 1 2 3 5 ...

plus de 10 ans il y a

A résolu

Find the peak 3n+1 sequence value

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

plus de 10 ans il y a

A résolu

Scrabble Scores

Given a word, determine its score in <http://en.wikipedia.org/wiki/Scrabble Scrabble>. The input string will always be provide...

plus de 10 ans il y a

A résolu

Find state names that start with the letter N

Given a list of US states, remove all the states that start with the letter N. If s1 = 'Alabama Montana Nebraska Vermont Ne...

plus de 10 ans il y a

Réponse apportée

Video Object wont get accepted

The second argument to the |getdata| command should be a single number, not a vector. You set the |FramesPerTrigger| property to...

Video Object wont get accepted

The second argument to the |getdata| command should be a single number, not a vector. You set the |FramesPerTrigger| property to...

plus de 10 ans il y a | 1

| A accepté

A résolu

Find the two most distant points

Given a collection of points, return the indices of the rows that contain the two points most distant from one another. The inpu...

plus de 10 ans il y a

A résolu

Sums with Excluded Digits

Add all the integers from 1 to n in which the digit m does not appear. m will always be a single digit integer from 0 to 9. no...

plus de 10 ans il y a

A résolu

QWERTY coordinates

Given a lowercase letter or a digit as input, return the row where that letter appears on a <http://en.wikipedia.org/wiki/Keyboa...

plus de 10 ans il y a

A résolu

Find the palindrome

Given the string a, find the longest palindromic sub-string b. So when a = 'xkayakyy'; you should return b = 'kayak';

plus de 10 ans il y a

A résolu

Extract leading non-zero digit

<http://en.wikipedia.org/wiki/Benford%27s_law Benford's Law> states that the distribution of leading digits is not random. This...

plus de 10 ans il y a

A résolu

Reverse Run-Length Encoder

Given a "counting sequence" vector x, construct the original sequence y. A counting sequence is formed by "counting" the entrie...

plus de 10 ans il y a

A résolu

Given a window, how many subsets of a vector sum positive

Given a vector: [1 0 -1 3 2 -3 1] and a window of 2, A sliding window would find: 1 + 0 = 1 0 - 1 = -1 ...

plus de 10 ans il y a

A résolu

Implement simple rotation cypher

If given a letter from the set: [abc...xyz] and a shift, implement a shift cypher. Example: 'abc' with a shi...

plus de 10 ans il y a

Réponse apportée

Can I use the Image Acquisition Toolbox to write to disk with two video sources and two output files at the same time?

If I understand your question properly, the problem doesn't seem to be with the disk logging, but with starting the acquisition....

Can I use the Image Acquisition Toolbox to write to disk with two video sources and two output files at the same time?

If I understand your question properly, the problem doesn't seem to be with the disk logging, but with starting the acquisition....

presque 11 ans il y a | 0

Réponse apportée

How to increase image quality when taking images through Image Acquisition Toolbox beyond available options in Hardware Browser?

The Logitech c920 has a 2304x1536 pixel sensor, so this is the maximum video resolution available using that camera. The larger ...

How to increase image quality when taking images through Image Acquisition Toolbox beyond available options in Hardware Browser?

The Logitech c920 has a 2304x1536 pixel sensor, so this is the maximum video resolution available using that camera. The larger ...

environ 11 ans il y a | 0

Réponse apportée

What is the difference between videoinput and imaq.VideoDevice?

The object returned by |imaq.VideoDevice| is a <http://www.mathworks.com/discovery/stream-processing.html System Object> and is ...

What is the difference between videoinput and imaq.VideoDevice?

The object returned by |imaq.VideoDevice| is a <http://www.mathworks.com/discovery/stream-processing.html System Object> and is ...

environ 11 ans il y a | 2

| A accepté

A résolu

Counting in Finnish

Sort a vector of single digit whole numbers alphabetically by their name, in Finnish. See the Wikipedia page for <http://en.wik...

environ 11 ans il y a

A résolu

Indexed Probability Table

This question was inspired by a Stack Overflow question forwarded to me by Matt Simoneau. Given a vector x, make an indexed pro...

environ 11 ans il y a

A résolu

Pattern matching

Given a matrix, m-by-n, find all the rows that have the same "increase, decrease, or stay same" pattern going across the columns...

environ 11 ans il y a

Réponse apportée

code for creating a realtime video and storing it at a fixed place using webcam

There is an <http://www.mathworks.com/help/imaq/examples/logging-data-to-disk.html example> in the doc that shows how to do this...

code for creating a realtime video and storing it at a fixed place using webcam

There is an <http://www.mathworks.com/help/imaq/examples/logging-data-to-disk.html example> in the doc that shows how to do this...

plus de 11 ans il y a | 0

Réponse apportée

imwrite through step() to snapshot a video saves red images why?

It looks like you are using a YCbCr format of your camera. When you are previewing or writing to disk, the toolbox converts the ...

imwrite through step() to snapshot a video saves red images why?

It looks like you are using a YCbCr format of your camera. When you are previewing or writing to disk, the toolbox converts the ...

plus de 11 ans il y a | 1

A résolu

Which doors are open?

There are n doors in an alley. Initially they are all shut. You have been tasked to go down the alley n times, and open/shut the...

plus de 11 ans il y a

Réponse apportée

Simultaneous Video Display with continuous serial communication

The big problem that I see is in your startStopCamera_Callback function. You are continuously calling trigger and then getdata i...

Simultaneous Video Display with continuous serial communication

The big problem that I see is in your startStopCamera_Callback function. You are continuously calling trigger and then getdata i...

plus de 11 ans il y a | 0

| A accepté

Réponse apportée

Disable "Warning: The ROIPosition property was modified by the device."

Although Image Acquisition Toolbox will allow you to specify arbitrary values for the ROIPosition property (within the allowed r...

Disable "Warning: The ROIPosition property was modified by the device."

Although Image Acquisition Toolbox will allow you to specify arbitrary values for the ROIPosition property (within the allowed r...

plus de 11 ans il y a | 1

| A accepté