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

7 months ago

Solved

Determine if input is odd

Given the input n, return true if n is odd or false if n is even.

7 months ago

Solved

Vector creation

Create a vector using square brackets going from 1 to the given value x in steps on 1. Hint: use increment.

7 months ago

Solved

Doubling elements in a vector

Given the vector A, return B in which all numbers in A are doubling. So for: A = [ 1 5 8 ] then B = [ 1 1 5 ...

7 months ago

Solved

Flip the vector from right to left

Flip the vector from right to left. Examples x=[1:5], then y=[5 4 3 2 1] x=[1 4 6], then y=[6 4 1]; Request not ...

7 months ago

Solved

Whether the input is vector?

Given the input x, return 1 if x is vector or else 0.

7 months ago

Solved

Get the length of a given vector

Given a vector x, the output y should equal the length of x.

7 months ago

Solved

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

7 months ago

Solved

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

7 months ago

Solved

Make the vector [1 2 3 4 5 6 7 8 9 10]

In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

7 months ago

Question

Sending data via udp. Would appreciate help with the proper way of converting a cell array containing char, string, double to ASCII data

Hello! I have to send the information contained in the attached file DATA.mat to another program (it's running on the same PC f...

7 months ago | 1 answer | 0