Community Profile

photo

Andrea Caruso


Last seen: Today
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'

ungefär 8 timmar ago

Solved


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

ungefär 8 timmar ago

Solved


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

ungefär 8 timmar ago

Solved


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

ungefär 8 timmar 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 ...

ungefär 8 timmar 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...

ungefär 8 timmar 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...

ungefär 8 timmar ago

Solved


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

ungefär 8 timmar 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...

ungefär 8 timmar ago

Solved


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

ungefär 8 timmar 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 ...

ungefär 8 timmar 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!

ungefär 8 timmar 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 =...

ungefär 8 timmar 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 ...

ungefär 8 timmar 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 ...

ungefär 9 timmar ago

Solved


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

ungefär 9 timmar 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]; ...

ungefär 9 timmar 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 ...

ungefär 9 timmar ago

Solved


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

ungefär 9 timmar ago

Solved


prime test
find largest 2 digit prime number

ungefär 9 timmar 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...

ungefär 9 timmar ago

Solved


Fahrenheit to Celsius converter
Convert Fahrenheit to Celsius degrees.

ungefär 9 timmar ago

Solved


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

ungefär 9 timmar 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 ...

ungefär 9 timmar ago

Solved


Remove the Zero
Given an array n, remove all zeros

ungefär 9 timmar ago

Solved


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

ungefär 9 timmar ago

Solved


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

ungefär 9 timmar ago

Solved


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

ungefär 9 timmar ago

Solved


Simple sum 1

ungefär 9 timmar ago

Solved


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

ungefär 9 timmar ago

Load more