已解决


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

15 years 前

已解决


Counting Money
Add the numbers given in the cell array of strings. The strings represent amounts of money using this notation: $99,999.99. E...

15 years 前

已解决


Pangrams!
A pangram, or holoalphabetic sentence, is a sentence using every letter of the alphabet at least once. Example: Input s ...

15 years 前

已解决


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

15 years 前

已解决


Remove the vowels
Remove all the vowels in the given phrase. Example: Input s1 = 'Jack and Jill went up the hill' Output s2 is 'Jck nd Jll wn...

15 years 前

已解决


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

15 years 前

已解决


Find the longest sequence of 1's in a binary sequence.
Given a string such as s = '011110010000000100010111' find the length of the longest string of consecutive 1's. In this examp...

15 years 前

已解决


Who Has the Most Change?
You have a matrix for which each row is a person and the columns represent the number of quarters, nickels, dimes, and pennies t...

15 years 前

已解决


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

15 years 前

已解决


Swap the first and last columns
Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...

15 years 前

已解决


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

15 years 前

已解决


Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

15 years 前

已解决


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

15 years 前

已解决


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

15 years 前

已回答
Driver Editor: ability to assign array of doubles directly to a property
Mike, There is no limitation on passing in an array of doubles into a MDD. The datatype is just the type - it doesn't specify...

15 years 前 | 0

已回答
error constructing a device object from matlab instrument driver via instrument control toolbox
First do what Walter suggested. Then, mex -setup and follow steps.

15 years 前 | 0

已回答
Using IVI-COM IviRfSigGen to generate an ARB signal
You need both lines below sig_gen.RF.OutputEnabled = true; sig_gen.IQ.Enabled = true;

15 years 前 | 0

已回答
TCP IP Scope Connectivity Issues
Sounds like TEK VISA is not configured correctly. Have you tried using Agilent VISA instead? You can get Agilent VISA by install...

15 years 前 | 0

已回答
MATLAB Device Driver Wrapper: IVI-C vs IVI-COM
Tom, From a user's perspective, once you create the MDD file IVI-COM and IVI-C drivers will look similar in terms of interact...

15 years 前 | 0