Richard

Richard Ellis

Last seen: environ 2 mois il y a Actif depuis 2019

Followers: 0   Following: 0

All

Feeds

Afficher par

A résolu

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

environ 4 ans il y a

A résolu

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

environ 4 ans il y a

A résolu

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]

environ 4 ans il y a

A résolu

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

environ 4 ans il y a

A résolu

Given a and b, return the sum a+b in c.

environ 4 ans il y a

A résolu

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

environ 4 ans il y a

A résolu

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

environ 4 ans il y a

A résolu

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

environ 4 ans il y a

A résolu

Create a vector
Create a vector from 0 to n by intervals of 2.

environ 4 ans il y a

A résolu

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

environ 4 ans il y a

A résolu

Arrange Vector in descending order
If x=[0,3,4,2,1] then y=[4,3,2,1,0]

environ 4 ans il y a

A résolu

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

environ 4 ans il y a

A résolu

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

environ 4 ans il y a

Réponse apportée
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...

environ 5 ans il y a | 0