Community Profile

photo

Samuel Liu

MathWorks

Last seen: oltre 2 anni fa Attivo dal 2021

Followers: 0   Following: 0

Statistiche

  • Commenter
  • Promoter
  • Solver

Visualizza badge

Feeds

Visto da

Risolto


Find max
Find the maximum value of a given vector or matrix.

oltre 2 anni fa

Risolto


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

oltre 2 anni fa

Risolto


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

oltre 2 anni fa

Risolto


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

oltre 2 anni fa

Risolto


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

oltre 2 anni fa

Risolto


Find the max element of the array
Find the max element of the array

oltre 2 anni fa

Risolto


Square root
Given x (a matrix), give back another matrix, where all the elements are the square roots of x's elements.

oltre 2 anni fa

Risolto


Calculate the average value of the elements in the array
Calculate the average value of the elements in the array

oltre 2 anni fa

Risolto


to the 2 all elements
to the 2 all elements

oltre 2 anni fa

Risolto


Number Puzzle - 035

oltre 2 anni fa

Risolto


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

oltre 2 anni fa

Risolto


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

oltre 2 anni fa