A résolu


2倍してみよう - ここからスタート!
初めにこの問題を試してみよう。 入力としてxを与え、それを2倍して結果をyに代入せよ。 Examples: Input x = 2 Output y is 4 Input x = 17 Output y is 34 ...

plus de 3 ans il y a

A résolu


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

plus de 3 ans il y a

A résolu


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

plus de 3 ans il y a

A résolu


Converts numbers into characters
Converts numbers into characters

plus de 3 ans il y a

A résolu


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

plus de 3 ans il y a

A résolu


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

plus de 3 ans il y a

A résolu


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

plus de 3 ans il y a

A résolu


to the 2 all elements
to the 2 all elements

plus de 3 ans il y a

A résolu


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

plus de 3 ans il y a

A résolu


calculate the length of matrix
input 1 array, calculate the length

plus de 3 ans il y a

A résolu


Double all elements in the array
Duplicate all elements in the array

plus de 3 ans il y a

A résolu


Calculate area of sector
A=function(r,seta) r is radius of sector, seta is angle of sector, and A is its area. Area of sector A is defined as 0.5*(r^2...

plus de 3 ans il y a

A résolu


Mass Conversion 2

plus de 3 ans il y a

A résolu


Energy Conversion 2

plus de 3 ans il y a

A résolu


Area Conversion 2

plus de 3 ans il y a

A résolu


Mass Conversion 1

plus de 3 ans il y a

A résolu


Rotate Matrix @180 degree
Rotate Matrix @180 degree Example A=[8 1 6; 3 5 7; 4 9 2], then answer would be [2 9 4;...

plus de 3 ans il y a

A résolu


Draw a '0' in a one matrix!

plus de 3 ans il y a

A résolu


Pizza!
Given a circular pizza with radius z and thickness a, return the pizza's volume. [ z is first input argument.] Non-scored bonus...

plus de 3 ans il y a

A résolu


Energy Conversion 1

plus de 3 ans il y a

A résolu


Temperature Conversion 2

plus de 3 ans il y a

A résolu


Temperature Conversion 1

plus de 3 ans il y a

A résolu


Draw a '4' in a zero matrix!

plus de 3 ans il y a

A résolu


Draw a '6' in a zero matrix!

plus de 3 ans il y a

A résolu


Draw a '9' in a zero matrix!

plus de 3 ans il y a

A résolu


Draw a '7' in a zero matrix!

plus de 3 ans il y a

A résolu


Draw a '8' in a zero matrix!

plus de 3 ans il y a

A résolu


Draw a '3' in a zero matrix!

plus de 3 ans il y a

A résolu


Draw a '2' in a zero matrix!

plus de 3 ans il y a

A résolu


Draw a '5' in a zero matrix!

plus de 3 ans il y a

Charger plus