Community Profile

photo

Gerard Stockil


Last seen: 1 giorno ago Active since 2021

Statistics

  • Draw Letters
  • Leader
  • Scholar
  • Promoter
  • CUP Challenge Master
  • Commenter
  • Community Group Solver
  • Introduction to MATLAB Master
  • Solver

View badges

Content Feed

View by

Solved


Find the mode of the given input
Find the statistical <http://en.wikipedia.org/wiki/Mode_(statistics)/ mode> of the given input. Example: If X is matr...

1 giorno ago

Solved


Is my wife right?
Regardless of input, output the string 'yes'.

1 giorno ago

Solved


index of n^2 in magic(n)
input=5 magic matrix 17 24 1 8 15 23 5 7 14 16 4 6 13 20 22 10 ...

1 giorno ago

Solved


The Piggy Bank Problem
Given a cylindrical piggy bank with radius g and height y, return the bank's volume. [ g is first input argument.] Bonus though...

1 giorno ago

Solved


Count the Number of Directed Cycles in a Graph
Given an asymmetric adjacency matrix, determine the number of unique *directed* cycles. For example, the graph represented by...

1 giorno ago

Solved


Bernoulli's Triangle
Generate the bernoulli's triangle upto nth row. <https://mathworld.wolfram.com/BernoulliTriangle.html>

1 giorno ago

Solved


Number of vertices of a hypercube
Return the number of vertices of a n-dimensional hypercube.

2 giorni ago

Solved


Sum
Sum 1 and 2

4 giorni ago

Solved


Volume of a sphere given its surface area
You just measured its surface area, that is the input.

5 giorni ago

Solved


Compute LOG(1+X) in natural log
Compute LOG(1+X) in natural log

6 giorni ago

Solved


Draw 'F'
Draw a x-by-x matrix 'F' using 1 and 0. (x is odd and bigger than 4) Example: x=5 ans= [1 1 1 1 1 1 0 0 0 0 ...

6 giorni ago

Solved


Draw 'O' !
Given n as input, generate a n-by-n matrix 'O' using 0 and 1 . example: n=4 ans= [1 1 1 1 1 0 0 1 ...

6 giorni ago

Solved


Draw 'I'
Given n as input, draw a n-by-n matrix 'I' using 0 and 1. example: n=3 ans= [0 1 0 0 1 0 0 1 0] n=...

6 giorni ago

Solved


find whether it is prime or not
For a given number find if its prime

6 giorni ago

Solved


Simple polynomial evaluation
Compute the value of a polynomial of degree n with all coefficients '1', at value x. n is always n>=0. p(x)=1+x+x^2+...+x^n...

6 giorni ago

Solved


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

6 giorni ago

Solved


Find Logic 16

6 giorni ago

Solved


Area of a disk
Find the area of a disk or circle. x= radius of the disk.

8 giorni ago

Solved


Transpose
Write a MATLAB script in order to convert a random length row vector (v) into a column vector.

8 giorni ago

Solved


frame of the matrix
Given the matrix M, return M without the external frame.

8 giorni ago

Solved


Effective Nuclear Charge

9 giorni ago

Solved


Permute diagonal and antidiagonal
Permute diagonal and antidiagonal For example [1 2 3;4 5 6;7 8 9] -> [3 2 1;4 5 6;9 8 7] WITHOUT diag function (and variable n...

9 giorni ago

Solved


Evaluate Polynomial
Given a polynomial equation coefficients in a vector p, you have to return its value at x. Example: For inputs p and x ...

9 giorni ago

Solved


Whole Number Concatenator
Write a function that concatenates whole numbers. For example: numcat(111,222) should return 111222 numcat(1,2,3,4,5) s...

9 giorni ago

Solved


Make a Plot with Functions
Make a plot and test

9 giorni ago

Solved


calculate linear convolution two vectors
for e.g in: a = [1 2 3] b = [4 5 6] out: y = [4 13 28 27 18]

10 giorni ago

Solved


Building matrices
If you have matrix A, create matrix B using matrix A as an "element" A = [1 2 3 4; 5 6 7 8...

10 giorni ago

Solved


Tell me the slope
Tell me the slope, given a vector with horizontal run first and vertical rise next. Example input: x = [10 2];

10 giorni ago

Solved


Print true if
all elements are larger than 5 a=[1 3 5 8 6]; b=[6 6 6 6 6]; function(a) should be false, and function(b) will be tru...

10 giorni ago

Solved


Find the area of ​​the square
There are *n²* circles inscribed in the square ABCD. The perimeter of each circle is *aπ* <<http://imgfz.com/i/3wzCeAT.png>> ...

10 giorni ago

Load more