Community Profile

photo

Zhenqiang YING


Last seen: oltre 3 anni fa Attivo dal 2016

Followers: 0   Following: 0

Statistiche

  • First Review
  • Solver

Visualizza badge

Feeds

Visto da

Risolto


Find all elements less than 0 or greater than 10 and replace them with NaN
Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN. Example: Input ...

circa 8 anni fa

Risolto


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]

circa 8 anni fa

Risolto


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

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

circa 8 anni fa