Community Profile

photo

Andrea Caruso


Last seen: ein Tag ago
357 total contributions since 2020

Andrea Caruso's Badges

  • Leader
  • Draw Letters
  • Creator
  • Speed Demon
  • Commenter
  • CUP Challenge Master
  • Community Group Solver
  • Introduction to MATLAB Master
  • Promoter
  • Solver

View details...

Contributions in
View by

Solved


vector to string
Determine what the ASCII characters spell out. Example: input = [ 72 73 71 72] output = 'HIGH'

etwa 24 Stunden ago

Solved


Area of a circle
Given the radius x, y would be the area of a circle. Pi = 3.1416

etwa 24 Stunden ago

Solved


first element of matrix
find the first elements of a column matrix

etwa 24 Stunden ago

Solved


Sum of integers numbers
Sum of the numbers from 1 to 100

ein Tag ago

Solved


Unit Matrix
Given n, you should return an n-by-n unit matrix. Example: If input is n=2 then A = [ 1 0 0 1 ] If input ...

ein Tag ago

Solved


BASICS - sum part of vector
Please make a function, where as input you get vector "x" and and vector "c", where in "c" vector you get indexes to sum. Examp...

ein Tag ago

Solved


Armstrong Number
Determine whether the given input n-digit number is Armstrong Number or not. Return True if it is an Armstrong Number. An n-D...

ein Tag ago

Solved


prime test 2
enter the only non prime,non composite number

ein Tag ago

Solved


Matrix FUN
Given a Matrix M, find out the number of elements of matrix that are divisible by 3. M = [1 2 3;4 5 6;7 8 9]; ou...

ein Tag ago

Solved


特定の値がベクトル内に含まれているかを確認するコードを書こう
ベクトル b にあるスカラ値 a が含まれていれば出力として 1 を返し、含まれていなければ 0 を返すような関数を作成しましょう。 例: a = 3; b = [1,2,4]; スカラ値 3 はベクトル b に含まれていない...

ein Tag ago

Solved


Omit columns averages from a matrix
Omit columns averages from a matrix. For example: A = 16 2 3 13 5 11 10 8 9 7 ...

ein Tag ago

Solved


Number of Horns on a unicorn!
Calculate the number of horns on a *unicorn*! And I'm talking about a unicorn with not more than one horn on it!

ein Tag ago

Solved


Returning a "greater than" vector
Given a vector, v, return a new vector , vNew, containing only values > n. For example: v=[1 2 3 4 5 6] n=3 vNew =...

ein Tag ago

Solved


Who invented zero?
We know the importance zero in computer science, mathematics... but who invented zero? Clue: He was the first in the line ...

ein Tag ago

Solved


Change matrix to vector
Vector is a matrix whose size is 1 x n or n x 1. Change matrix to vector. x = 4 3 5 1 ...

ein Tag ago

Solved


Area of a triangle
A triangle is given with base *'b'* ,vertical hight *'h'* . then find it's area.

ein Tag ago

Solved


Initialize a Natural Number matrix.
Given length of matrix initialize a matrix consisting of natural numbers from 1 to n: n = 10; x = [ 1 2 3 4 5 6 7 8 9 10]; ...

ein Tag ago

Solved


Remove All elements less than 5
Given an input vector x, remove all elements of x less than 5 . Example: Input x = [ 1 2 5 7 3 ] Output y is [ 5 7 ...

ein Tag ago

Solved


行列内の素数の平均をとろう
行列が与えられたときに、その行列内の素数の平均を計算する関数を作成しましょう。 例: 入力の行列が in = [ 8 3            5 9 ] のとき、 出力が 4 あるいは (3+5)/2 のようになり...

ein Tag ago

Solved


prime test
find largest 2 digit prime number

ein Tag ago

Solved


Basic commands - amount of inputs
Make a function, which will return amount of given inputs Example: amountinput(1,2,4,3,10) -> 5 , because we gave functio...

ein Tag ago

Solved


Fahrenheit to Celsius converter
Convert Fahrenheit to Celsius degrees.

ein Tag ago

Solved


Complex number
For complex number c=a+bi, write code that will add a and b together.

ein Tag ago

Solved


Given area find sides
In a right angle triangle given area 'A' one arm=x, another arm=2x then find the value of x. For example, area A=400 then ...

ein Tag ago

Solved


Remove the Zero
Given an array n, remove all zeros

ein Tag ago

Solved


Multiply by 3
Given the variable x as your input, multiply it by three and put the result in y.

ein Tag ago

Solved


Replace Nan!
Replace Nan in the given vector(v) with 9999.

ein Tag ago

Solved


How do you make seven even?
Take away the s.

ein Tag ago

Solved


Simple sum 1

ein Tag ago

Solved


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

ein Tag ago

Load more