Professional Interests: Signal processing,Data Acquistion
Top 10% contributor
Ok here is the gist of the problem:
File structure is a big Endian machine format with an array of 1600 numbers (matrix 100X1...
Asked 11 months ago
2 years ago
Given a and b, return the sum a+b in c.
Determine the number of unique odd integers in a vector.
Input x = [2 5 8 3 7 1];
Output y = 4;
Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN.
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.
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...
In MATLAB, you create a vector by enclosing the elements in square brackets like so:
x = [1 2 3 4]
Commas are optional, s...
Regardless of input, output the string 'yes'.
Given the input n, return true if n is odd or false if n is even.
Try out this test problem first.
Given the variable x as your input, multiply it by two and put the result in y.
Join the conversation