解決済み


to the 2 all elements
to the 2 all elements

約1ヶ月 前

解決済み


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

約1ヶ月 前

解決済み


Converting binary to decimals
Convert binary to decimals. Example: 010111 = 23. 110000 = 48.

約1ヶ月 前

解決済み


Generate N equally spaced intervals between -L and L
Given N and L, return a list of numbers (in ascending order) that divides the interval [-L L] into N equal-length segments. For...

約1ヶ月 前

解決済み


Is it a number?
Determine if input is numeric. If it is,output is 1; if it is not, output is 0.

約1ヶ月 前

解決済み


Sum of series V
What is the sum of the following sequence: Σk(k+1) for k=1...n for different n?

約1ヶ月 前

解決済み


Y=X
Given an input variable x, output a variable y that is equal in value to x. Example: Input x = 1 Output y is 1 Inp...

約1ヶ月 前

解決済み


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

約1ヶ月 前

解決済み


Counting down
Create a vector that counts from 450 to 200 in increments of 10.

約1ヶ月 前

解決済み


Given a window, how many subsets of a vector sum positive
Given a vector: [1 0 -1 3 2 -3 1] and a window of 2, A sliding window would find: 1 + 0 = 1 0 - 1 = -1 ...

約1ヶ月 前

解決済み


modulus of a number
find the modulus of a given number

約1ヶ月 前

解決済み


Summing Digits within Text
Given a string with text and digits, add all the numbers together. Examples: Input str = '4 and 20 blackbirds baked in a...

約1ヶ月 前

解決済み


Pascal's Triangle
Given an integer n >= 0, generate the length n+1 row vector representing the n-th row of <http://en.wikipedia.org/wiki/Pascals_t...

約1ヶ月 前

解決済み


Find the Oldest Person in a Room
Given two input vectors: * |name| - user last names * |age| - corresponding age of the person Return the name of the ol...

約1ヶ月 前

解決済み


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 to use d...

約1ヶ月 前

解決済み


Remove the vowels
Remove all the vowels in the given phrase. Example: Input s1 = 'Jack and Jill went up the hill' Output s2 is 'Jck nd Jll wn...

約1ヶ月 前

解決済み


Check if sorted
Check if sorted. Example: Input x = [1 2 0] Output y is 0

約1ヶ月 前

解決済み


Return area of square
Side of square=input=a Area=output=b

約1ヶ月 前

解決済み


EPS Assist Map with respect to the Vehicle Speed
In Electric Power Steering (EPS), assist torque reduces as vehicle speed increases to improve stability at high speeds. Given S...

約1ヶ月 前

解決済み


Find the longest sequence of 1's in a binary sequence.
Given a string such as s = '011110010000000100010111' find the length of the longest string of consecutive 1's. In this examp...

約1ヶ月 前

解決済み


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

約1ヶ月 前

解決済み


Total energy

約1ヶ月 前

解決済み


Potential energy calculation

約1ヶ月 前

解決済み


Kinetic energy calculation

約1ヶ月 前

解決済み


Laws of motion 1

約1ヶ月 前

解決済み


Laws of motion 2

約1ヶ月 前

解決済み


Laws of motion 3

約1ヶ月 前

解決済み


Laws of motion 5
Calculate the force is u are given mass and acceleration.

約1ヶ月 前

解決済み


Laws of motion 6

約1ヶ月 前

解決済み


Interpolator
You have a two vectors, a and b. They are monotonic and the same length. Given a value, va, where va is between a(1) and a(end),...

約1ヶ月 前

さらに読み込む