Community Profile

photo

Gergely Patay


Last seen: 1 month ago
2,043 total contributions since 2012

R&D physicist, LEGO enthusiast

Contact

Gergely Patay's Badges

  • Scavenger Finisher
  • Cody Problems in Japanese Master
  • Introduction to MATLAB Master
  • Community Group Solver
  • Project Euler I
  • Cody Challenge Master
  • Computational Geometry I Master
  • Tiles Challenge Master
  • Speed Demon
  • ASEE Challenge Master
  • Scholar
  • Promoter
  • Commenter
  • Leader
  • CUP Challenge Master

View all

Contributions in
View by

Solved


Yoonir - 01
Find the area of a five-pointed star inscribed in a circle of radius r.

6 months ago

Solved


Verify Law of Large Numbers
If a large number of fair N-sided dice are rolled, the average of the simulated rolls is likely to be close to the mean of 1,2,....

6 months ago

Solved


A "Complex" Converter: Rectangular Form <-> Polar Form
*BACKGROUND / MOTIVATION:* Complex numbers can be an important tool in an electrical engineer's toolbox because they can help...

7 months ago

Solved


Rescale Scores
Each column (except last) of matrix |X| contains students' scores in a course assignment or a test. The last column has a weight...

7 months ago

Solved


Calculate Inner Product
Given two input matrices, |x| and |y|, check if their inner dimensions match. * If they match, create an output variable |z|...

7 months ago

Solved


Plot Damped Sinusoid
Given two vectors |t| and |y|, make a plot containing a blue ( |b| ) dashed ( |--| ) line of |y| versus |t|. Mark the minimum...

7 months ago

Solved


Crop an Image
A grayscale image is represented as a matrix in MATLAB. Each matrix element represents a pixel in the image. An element value re...

7 months ago

Solved


Cube root of max value in a vector
Find the cube root of the maximum value in a vector

10 months ago

Solved


Sum Sum Sum!
Calculate the sum of the natural numbers from 1 to n

10 months ago

Solved


easy problem
Find the last element of the array

10 months ago

Solved


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

10 months ago

Solved


Converts numbers into characters
Converts numbers into characters

10 months ago

Solved


Matrix Ax=B problem
Take a incoming A and B vector, and solve for x

10 months ago

Solved


Calculate the number of elements in a matrix.
Calculate the number of elements in a matrix.

10 months ago

Solved


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

10 months ago

Solved


Calculate the square root of a number
Input a Output b = srt(a)

10 months ago

Solved


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

10 months ago

Solved


Matrix multiplication across rows
Given matrix m, return matrix n such that, rows of n are result of multiplication of the rows of the input matrix Example ...

10 months ago

Solved


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

10 months ago

Solved


Sum sum!!!
Sum the numbers from 1 to n

10 months ago

Solved


Triangle???
Calculate the circumference of an equilateral triangle with x

10 months ago

Solved


Perimeter of a square!
Calculate the circumference of the square whose side is n

10 months ago

Solved


An Ohm's Law Calculator
*BACKGROUND / MOTIVATION:* Many important observations in math and science can be described by short, but powerful, equations...

10 months ago

Solved


check whether a number is a pentatope number
https://en.wikipedia.org/wiki/Pentatope_number

11 months ago

Solved


generate nth pentatope number
https://en.wikipedia.org/wiki/Pentatope_number

11 months ago

Solved


Determine whether a given point is inside or outside a polygon
A closed polygon may be described by an N x 2 array of nodes, where the last node and the first node are the same. Each row of ...

11 months ago

Solved


Calculate the area of a circle
Given a circle of diameter x calculate its area

11 months ago

Solved


Quadratic equation
given three inputs (a, b, c) for the equation a*x^2+b*x+c=0; return 1 if the roots are complex (non zero imaginary), and 0 if th...

11 months ago

Solved


Check if integer is a prime number
Check if integer i is a prime number. Returns logical true '1' if it is.

11 months ago

Solved


Check if number is a square number
Test if integer i is a square number. Return logical true if it is.

11 months ago

Load more