Feeds
已解决
Swap the input arguments
Write a two-input, two-output function that swaps its two input arguments. For example: [q,r] = swap(5,10) returns q = ...
4 years 前
已解决
Return the first and last character of a string
Return the first and last character of a string, concatenated together. If there is only one character in the string, the functi...
4 years 前
已解决
Reverse the vector
Reverse the vector elements. Example: Input x = [1,2,3,4,5,6,7,8,9] Output y = [9,8,7,6,5,4,3,2,1]
4 years 前
已解决
Check if number exists in vector
Return 1 if number _a_ exists in vector _b_ otherwise return 0. a = 3; b = [1,2,4]; Returns 0. a = 3; b = [1,...
4 years 前
已解决
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...
4 years 前
已解决
Vector creation
Create a vector using square brackets going from 1 to the given value x in steps on 1. Hint: use increment.
4 years 前
已解决
Get the length of a given vector
Given a vector x, the output y should equal the length of x.
4 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 ...
4 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:...
4 years 前
已回答
R2018b / R2019a runs very slow on macOS 10.14
I am running Mac OS 10.13 (High Sierra) with R2019a & have the same problem (iMac with 8GB RAM). I re-launched MATLAB & this ti...
R2018b / R2019a runs very slow on macOS 10.14
I am running Mac OS 10.13 (High Sierra) with R2019a & have the same problem (iMac with 8GB RAM). I re-launched MATLAB & this ti...
5 years 前 | 0