Community Profile

photo

Abdullah Al Baki


2021년부터 활동

Followers: 0   Following: 0

연락

Programming Languages:
Python
Spoken Languages:
English

통계

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

배지 보기

Feeds

보기 기준

문제를 풀었습니다


How many Fibonacci numbers?
Find the number of unique Fibonacci numbers (don't count repeats) in a vector of positive integers. Example: x = [1 2 3 4...

거의 2년 전

문제를 풀었습니다


Factorize THIS, buddy
List the prime factors for the input number, in decreasing order. List each factor only once, even if the factorization includes...

거의 2년 전

문제를 풀었습니다


Get all prime factors
List the prime factors for the input number, in decreasing order. List each factor. If the prime factor occurs twice, list it as...

거의 2년 전

문제를 풀었습니다


Numbers with prime factors 2, 3 and 5.
Make a function which takes one positive integer n and returns a matrix with the numbers of the form (2^i)*(3^j)*(5^k) which are...

거의 2년 전

문제를 풀었습니다


Find vampire numbers
A <http://en.wikipedia.org/wiki/Vampire_number vampire number> is a number v that is the product of two numbers x and y such th...

거의 2년 전

문제를 풀었습니다


Proper Factors
Generate the proper factors of input integer x and return them in ascending order. For more information on proper factors, refer...

거의 2년 전

문제를 풀었습니다


Multiples of a Number in a Given Range
Given an integer factor _f_ and a range defined by _xlow_ and _xhigh_ inclusive, return a vector of the multiples of _f_ that fa...

거의 2년 전

문제를 풀었습니다


Smith numbers
Return true if the input is a Smith number in base ten. Otherwise, return false. Read about Smith numbers at http://en.wikipedia...

거의 2년 전

문제를 풀었습니다


Prime factor digits
Consider the following number system. Calculate the prime factorization for each number n, then represent the prime factors in a...

거의 2년 전

문제를 풀었습니다


Draw a '6' in a zero matrix!

거의 2년 전

문제를 풀었습니다


Draw a '9' in a zero matrix!

거의 2년 전

문제를 풀었습니다


Draw a '7' in a zero matrix!

거의 2년 전

문제를 풀었습니다


Draw a '3' in a zero matrix!

거의 2년 전

문제를 풀었습니다


Draw a '2' in a zero matrix!

거의 2년 전

문제를 풀었습니다


Draw a '5' in a zero matrix!

거의 2년 전

문제를 풀었습니다


Find x rows where the sum of the numbers is the maximum

거의 2년 전

문제를 풀었습니다


Draw a '1' in a zero matrix!

거의 2년 전

문제를 풀었습니다


Project Euler: Problem 3, Largest prime factor
The prime factors of 13195 are 5, 7, 13 and 29. What is the largest prime factor of the number being input, input might be ui...

거의 2년 전

문제를 풀었습니다


Project Euler: Problem 2, Sum of even Fibonacci
Each new term in the Fibonacci sequence is generated by adding the previous two terms. By starting with 1 and 2, the first 10 te...

거의 2년 전

문제를 풀었습니다


Factorial Numbers
Factorial is multiplication of integers. So factorial of 6 is 720 = 1 * 2 * 3 * 4* 5 *6 Thus 6 factorial = factorial(720)....

거의 2년 전

문제를 풀었습니다


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

거의 2년 전

문제를 풀었습니다


Reverse Run-Length Encoder
Given a "counting sequence" vector x, construct the original sequence y. A counting sequence is formed by "counting" the entrie...

거의 2년 전

문제를 풀었습니다


Alternating sum
Given vector x, calculate the alternating sum y = x(1) - x(2) + x(3) - x(4) + ...

거의 2년 전

문제를 풀었습니다


Geometric series
Find the sum, given the first term t1, the common ratio r, and number of terms n. Examples If input t1=1, r=1, n=7 the...

거의 2년 전

문제를 풀었습니다


Max index of 3D array
Given a three dimensional array M(m,n,p) write a code that finds the three coordinates x,y,z of the Maximum value. Example ...

거의 2년 전

문제를 풀었습니다


Remove NaN ?
input -> matrix (n*m) with at least one element equal to NaN; output -> matrix(p*m), the same matrix where we deleted the enti...

거의 2년 전

문제를 풀었습니다


find the maximum element of the matrix
for e.g x = [1 2; 3 4] y = 4

거의 2년 전

문제를 풀었습니다


Sum of first n positive integers
Given n, find the sum of first n positive integers Example: If n=10, then x=1,2,3,4,5,6,7,8,9,10. The sum of these terms is 55

거의 2년 전

문제를 풀었습니다


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

거의 2년 전

문제를 풀었습니다


Square the input
Given a scalar or vector x, return the square of each element. Example x = [7 2] answer = [49 4]

거의 2년 전

더 보기