Community Profile

photo

J. Alex Lee


Last seen: 1日 前 2016 以来アクティブ

Statistics

All
  • Thankful Level 2
  • Knowledgeable Level 5
  • Pro
  • 12 Month Streak
  • Revival Level 2
  • First Review
  • Solver
  • Thankful Level 1
  • First Answer

バッジを表示

Content Feed

表示方法

解決済み


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

約15時間 前

解決済み


Flip the vector from right to left
Flip the vector from right to left. Examples x=[1:5], then y=[5 4 3 2 1] x=[1 4 6], then y=[6 4 1]; Request not ...

約15時間 前

解決済み


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

約15時間 前

解決済み


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

約15時間 前

解決済み


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

約15時間 前

解決済み


Inner product of two vectors
Find the inner product of two vectors.

約15時間 前

解決済み


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

約15時間 前

解決済み


Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

約15時間 前

解決済み


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

約15時間 前

解決済み


Convert a temperature reading from Celsius to an unknown scale
Two of the most famous temperature scales are the Celsius and the Fahrenheit scale. In reality, however, there are so many other...

約2年 前

解決済み


Length of a short side
Calculate the length of the short side, a, of a right-angled triangle with hypotenuse of length c, and other short side of lengt...

約2年 前

解決済み


Sort a list of complex numbers based on far they are from the origin.
Given a list of complex numbers z, return a list zSorted such that the numbers that are farthest from the origin (0+0i) appear f...

3年弱 前

解決済み


Counting Money
Add the numbers given in the cell array of strings. The strings represent amounts of money using this notation: $99,999.99. E...

3年弱 前

解決済み


Pangrams!
A pangram, or holoalphabetic sentence, is a sentence using every letter of the alphabet at least once. Example: Input s ...

3年弱 前

解決済み


Nearest Numbers
Given a row vector of numbers, find the indices of the two nearest numbers. Examples: [index1 index2] = nearestNumbers([2 5 3...

4年以上 前

解決済み


Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

4年以上 前

解決済み


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年以上 前

解決済み


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年以上 前

解決済み


Assign matrix elements to separate variables
Given an input array, return each element of the array as a separate variable. If the number of output arguments (k) is less tha...

4年以上 前