Community Profile

photo

Saxton


Last seen: 1 year ago Active since 2022

Followers: 0   Following: 0

Statistics

  • Introduction to MATLAB Master
  • Solver

View badges

Feeds

View by

Solved


Return the first and last characters of a character array
Return the first and last character of a string, concatenated together. If there is only one character in the string, the functi...

1 year ago

Solved


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

1 year ago

Solved


raise 1/3
Raise a number to 1/3 power.

1 year ago

Solved


Matrix multiplication
Multiply two incoming matrices via matrix multiplication

1 year ago

Solved


Sum two matrices
Take two incoming matrices, and sum them

1 year ago

Solved


Find the product of a Vector
How would you find the product of the vector [1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0 5.5 6.0] times 2?; x = [1 : 0.5 : 6]; y ...

1 year ago

Solved


Round to nearest integer

1 year ago

Solved


Number of 1s in a binary string
Find the number of 1s in the given binary string. Example. If the input string is '1100101', the output is 4. If the input stri...

1 year ago

Solved


Determine whether a vector is monotonically increasing
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...

1 year ago

Solved


Generate a vector like 1,2,2,3,3,3,4,4,4,4
Generate a vector like 1,2,2,3,3,3,4,4,4,4 So if n = 3, then return [1 2 2 3 3 3] And if n = 5, then return [1 2 2 3 3 3 4...

1 year ago

Solved


Create times-tables
At one time or another, we all had to memorize boring times tables. 5 times 5 is 25. 5 times 6 is 30. 12 times 12 is way more th...

1 year ago

Solved


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

1 year ago

Solved


Roll the Dice!
*Description* Return two random integers between 1 and 6, inclusive, to simulate rolling 2 dice. *Example* [x1,x2] =...

1 year ago

Solved


perimeter of a circle
perimeter of a circle

1 year ago

Solved


volume of a cube
volume of a cube with "x" side

1 year ago

Solved


area of a cube
area of a cube

1 year ago

Solved


perimeter of a cube
perimeter of a cube where each side is 12 ft long

1 year ago

Solved


Product of Array
Given an array of numbers. Get the product of the array.

1 year ago

Solved


cube of number
find cube of number

1 year ago

Solved


Area of a Square
Given the length x of the side of a regular square, find the area of the square, A.

1 year ago

Solved


kmph to mph converter
Convert the speed in miles/hour to km/hour.

1 year ago

Solved


multiply by three
Given the variable x as your input, multiply it by 3 and put the result equal to y. Examples: Input x = 2 Output y is ...

1 year ago

Solved


area

1 year ago

Solved


Square root of a number
Write a code that will output the square root of x.

1 year ago

Solved


Add 2 Vectors

1 year ago

Solved


Squaring Matrix
Square the following matrix using matlab % A = 1 2 3 4 5 6 7 8 So new matrix should display...

1 year ago

Solved


divide by 5

1 year ago

Solved


Celsius to Fahrenheit converter
Convert Celsius to Fahrenheit degrees.

1 year ago

Solved


Fahrenheit to Celsius converter
Convert Fahrenheit to Celsius degrees.

1 year ago

Solved


Celsius to Kelvin
Convert Celsius degrees to Kelvin temperature.

1 year ago

Load more