Risolto


二つのベクトルの要素ごとの積の平均を計算しよう
二つの同じ長さのベクトルが与えられたとき、二つのベクトルの要素ごとの積の平均を求めましょう。 例: 二つのベクトル [1 2 3] と [10 15 20] が与えられたとき、 それぞれの要素ごとの積の平均を取ると、 解は 33.3333 と...

oltre 3 anni fa

Risolto


Weighted average
Given two lists of numbers, determine the weighted average as follows Example [1 2 3] and [10 15 20] should result in 33.3...

oltre 3 anni fa

Risolto


ベクトルのスケーリング
入力したベクトルの大きさを1にしてください。

oltre 3 anni fa

Risolto


Total energy

oltre 3 anni fa

Risolto


Potential energy calculation

oltre 3 anni fa

Risolto


Kinetic energy calculation

oltre 3 anni fa

Risolto


Laws of motion 1

oltre 3 anni fa

Risolto


Laws of motion 2

oltre 3 anni fa

Risolto


Laws of motion 3

oltre 3 anni fa

Risolto


Laws of motion 4
Given the initial velocity 'u', final velocity 'v' and acceleration 'a', find the distance travelled.

oltre 3 anni fa

Risolto


Laws of motion 5

oltre 3 anni fa

Risolto


Laws of motion 6

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


Doubling elements in a vector
Given the vector A, return B in which all numbers in A are doubling. So for: A = [ 1 5 8 ] then B = [ 1 1 5 ...

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


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

oltre 3 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 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


What's for Lunch?
Given b choices of beverages, e choices of entrees, s choices of sides (take two different sides total) and d choices of dessert...

oltre 3 anni fa

Risolto


Who have the chance?
Obtain a free 10 score in cody, if you have a chance don't change anything if you want to try or do what you can do to gain for ...

oltre 3 anni fa

Risolto


Problem 44444 !!! free beer everyone
just say hallelujah to solve this problem

oltre 3 anni fa

Risolto


Happy Free Wednesday!
Just submit your solution on any Wednesday. *Related Challenges:* # Happy Free Wednesday! # Happy Free 2019! # Happy Fr...

oltre 3 anni fa

Risolto


Freebies anyone? No!!!!
Feel free to copy paste all the tests and voila you solved the problem

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


free points
function y = your_fcn_name(x) y = x(1)+x(2); end

oltre 3 anni fa

Risolto


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

oltre 3 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 3 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 3 anni fa