Community Profile

photo

William


3,265 2012 이후 총 참여 횟수

담당자

William's 배지

  • Cody5 Hard Master
  • Introduction to MATLAB Master
  • Combinatorics I Master
  • Computational Geometry III Master
  • Word Puzzles Master
  • Strings I Master
  • Card Games Master
  • Project Euler I
  • Divisible by x Master
  • Computational Geometry IV Master
  • Indexing V Master
  • Computational Geometry II Master
  • Draw Letters
  • Matrix Manipulation I Master
  • Magic Numbers II Master

모두 보기

참여 게시물
보기 기준

해결됨


Gray code
Given a decimal number, convert it to its corresponding Gray code (see https://en.wikipedia.org/wiki/Gray_code). 8 -- 1100...

약 9시간 전

해결됨


Check if a number belongs in the fibonacci squence
Test if integer i is a number in the fibonacci sequence. Return true if it is.

약 10시간 전

해결됨


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

약 10시간 전

해결됨


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

약 10시간 전

해결됨


Connect 4 (the boardgame)
You are playing the popular game "Connect 4" ( <https://en.wikipedia.org/wiki/Connect_Four>) against Matlab. Luckily, Matlab isn...

약 11시간 전

해결됨


Elliptic Curve Cryptography (ECC) Point Addition
Given two points (P and Q, they can be the same points on the elliptic curve), compute ECC point addition on a Weierstrass ellip...

5일 전

해결됨


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

7일 전

해결됨


Convert Fahrenheit to Kelvin
Convert the value f in Fahrenheit to Kelvin

9일 전

해결됨


find subscripts from linear index
a matrix and the linear index of an element is given as input. find the subscripts of that element. if linear index=3 , outp...

9일 전

문제


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

10일 전 | 1

해결됨


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

10일 전

해결됨


Cantor counting
Find the nth cantor's rational number. the sequence is given below in the link. Sequence: 1/1,1/2,2/1,3/1,2/2,1/3,1/4... ... .....

12일 전

해결됨


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

13일 전

해결됨


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

13일 전

문제


Fun with permutations
There are factorial(N) permutations of the numbers from 1 to N. For each of these permutations, we can find the set of indexes j...

13일 전 | 0

해결됨


remove numbers from a string
check the given string for any numbers.in case one is found,remove it.but the two portions should be separated. if more than one...

14일 전

해결됨


Repeat elements of a vector
Repeat each elements of a given vector according to their values. say x=[1,2,1,3] y=[1,2,2,1,3,3,3]

14일 전

해결됨


Double Factorial
Return double factorial n(n-2)...(5)(3)(1), n>0, odd n!! = n(n-2)...(6)(4)(2), n>0, even 1 ...

14일 전

해결됨


X O X O
On a noughts and crosses board, how many possible unique combinations are there given a square grid of length n? Assumptions/...

18일 전

해결됨


Combinations using Stirling numbers of the second kind
Output the number of ways to distribute n labelled balls among k identical boxes (some of which might be empty). Example: ...

21일 전

해결됨


factorial
calculate x!

23일 전

해결됨


Square
square root of x

25일 전

해결됨


Takuzu row
Takuzu row is one row in a logic puzzle of a rectangular grid. The rules are as follows: (1) The row is filled with 1s and 0s...

26일 전

해결됨


Simple Robotics 2 - End effector attitude
Given a structure as input to your function with the following fields: * robot.links(L1,L2,L3) * robot.jointangles(alfa1,alfa2...

27일 전

해결됨


An n-sided regular polygon is drawn within a circle whose radius is 'r', what will be the area of the polygon?
area of a polygon is p*a/2. where, p is the perimeter and a is the apothem i.e. the normal distance from center to any of the ...

27일 전

해결됨


Open coded lock.
Guess the <hint://fliplr(anchortext) password> or break the <2314/solutions/new#test_suite_body lock>.

29일 전

해결됨


make histogram
You probably know the function hist(x,n) to get the histogram. Now try to write the function yourself! For the cheaters wanti...

30일 전

해결됨


Check prime numbers
Let x, return 1 if x is a prime number, 0 otherwise e.g x = 7, return y =1; x = 6 return y = 0;

약 1달 전

Load more