Community Profile

# Aron Kumor

Last seen: 4 mesi ago Active since 2021

#### Content Feed

View by

Solved

The twelve days of Christmas
Traditionally there are twelve days of Christmas to celebrate ("Twelvetide"), typically starting with Christmas Day (25 December...

4 mesi ago

Solved

Who Has the Most Change?
You have a matrix for which each row is a person and the columns represent the number of quarters, nickels, dimes, and pennies t...

5 mesi ago

Solved

Make a checkerboard matrix
Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1. Examp...

5 mesi ago

Solved

サイコロを作ろう
1から6までの独立かつランダムな数値を返すような関数を作成しましょう。 例： >> [x1,x2] = rollDice(); と入力すると x1 = 5 x2 = 2 のような解を返します。

5 mesi ago

Solved

ベクトル [1 2 3 4 5 6 7 8 9 10]　の作成
MATLABでは,角括弧の中に要素を入れることで、ベクトルを作成できる。 x = [1 2 3 4] また次のようにも書ける（コンマはオプション）。 x = [1, 2, 3, 4] 問題：次のベクトルを出力する関数を作成せよ。...

5 mesi ago

Solved

2倍してみよう - ここからスタート！

5 mesi ago

Solved

ベクトルのスケーリング

5 mesi ago

Solved

Find the product of a Vector
How would you find the product of the vector [1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0 5.5 6.0] times 2?; x = [1 : 0.5 : 6]; y ...

5 mesi ago

Solved

Sum of diagonal of a square matrix
If x = [1 2 4; 3 4 5; 5 6 7] then y should be the sum of the diagonals of the matrix y = 1 + 4 + 7 = 12

5 mesi ago

Solved

Sum the numbers on the main diagonal
Sum the numbers on the main diagonal of an n-by-n matrix. For input: A = [1 2 4 3 6 2 2 4 7]...

5 mesi ago

Solved

Who is the smartest MATLAB programmer?
Who is the smartest MATLAB programmer? Examples: Input x = 'Is it Obama?' Output = 'Me!' Input x = 'Who ?' Ou...

5 mesi ago

Solved

multiply by three
Given the variable x as your input, multiply it by 3 and put the result equal to y. Examples: Input x = 2 Output y is ...

5 mesi ago

Solved

Square root of a number
Write a code that will output the square root of x.

5 mesi ago

Solved

Log of a number
Write a script that will give the log of x as output.

5 mesi ago

Solved

Write a code that will follow the equation y = x * (x + x) * x.
If x = 5, y = 5 * (5+5) * 5 = 250

5 mesi ago

Solved

Sum the squares of numbers from 1 to n
For a given value of n return the sum of square of numbers from 1 to n. Example For n = 2 then sum of squares = 5 (1^2 + ...

5 mesi ago

Solved

Surface area of a cone

5 mesi ago

Solved

Perimeter of a Triangle

5 mesi ago

Solved

Volume of a sphere

5 mesi ago

Solved

Find the Pattern 10

5 mesi ago

Solved

Find the Pattern 1

5 mesi ago

Solved

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

5 mesi ago

Solved

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

5 mesi ago

Solved

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

5 mesi ago

Solved

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

5 mesi ago

Solved

Vector creation
Create a vector using square brackets going from 1 to the given value x in steps on 1. Hint: use increment.

5 mesi ago

Solved

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

5 mesi ago

Solved

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

5 mesi ago

Solved

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

5 mesi ago

Solved

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

5 mesi ago