Gelöst


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

mehr als 11 Jahre vor

Gelöst


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

mehr als 11 Jahre vor

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

mehr als 11 Jahre vor | 0

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

mehr als 11 Jahre vor | 0

| akzeptiert

Gelöst


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

mehr als 11 Jahre vor

Gelöst


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

mehr als 11 Jahre vor

Gelöst


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

mehr als 11 Jahre vor

Gelöst


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

mehr als 11 Jahre vor

Gelöst


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

mehr als 11 Jahre vor

Gelöst


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

mehr als 11 Jahre vor

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

mehr als 11 Jahre vor | 1

| akzeptiert

Gelöst


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

mehr als 11 Jahre vor

Gelöst


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

mehr als 11 Jahre vor

Gelöst


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

mehr als 11 Jahre vor

Gelöst


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

mehr als 11 Jahre vor

Gelöst


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

mehr als 11 Jahre vor

Gelöst


Reverse Run-Length Encoder
Given a "counting sequence" vector x, construct the original sequence y. A counting sequence is formed by "counting" the entrie...

mehr als 11 Jahre vor

Gelöst


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

fast 12 Jahre vor

Gelöst


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

fast 12 Jahre vor

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

etwa 12 Jahre vor | 0

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

mehr als 12 Jahre vor | 0

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

mehr als 12 Jahre vor | 2

| akzeptiert

Gelöst


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

mehr als 12 Jahre vor

Gelöst


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

mehr als 12 Jahre vor

Gelöst


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

mehr als 12 Jahre vor

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

mehr als 12 Jahre vor | 0

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

fast 13 Jahre vor | 1

Gelöst


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

fast 13 Jahre vor

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

fast 13 Jahre vor | 0

| akzeptiert

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

fast 13 Jahre vor | 1

| akzeptiert

Mehr laden