Feeds
已解决
Flip the bit
Given an input character string (e.g. '1001'), return a character string with the bits flipped ('0110').
3 months 前
已解决
Vector push
Append an element |x| to the end of the vector |v| and return both the extended vector and the new number of its elements. |x| c...
3 months 前
已解决
Product of Each Column
Given a matrix |mat| with |n| columns, return a row vector |v| of length |n|, where every element in |v| is the product of the |...
3 months 前
已解决
Please check the last row
We have data of matrix, that is input. That contains 2 or more rows and the last row should contain the average of each column,...
3 months 前
已解决
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 to use d...
3 months 前
已解决
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...
3 months 前
已解决
Vector creation
Create a vector using square brackets going from 1 to the given value x in steps on 1. Hint: use increment.
3 months 前
已解决
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:...
3 months 前
