문제를 풀었습니다


Pattern Sum
Write a function which receives two single digit positive integers, (k and m) as parameters and calculates the total sum as: k...

거의 3년 전

문제를 풀었습니다


Center of mass
Given a matrix M(m,n), where m is the number of vertices of the geometrical element and n is 2 or 3 (2D-plane figure or 3D-solid...

거의 3년 전

문제를 풀었습니다


Sum the Infinite Series
Given that 0 < x and x < 2*pi where x is in radians, write a function [c,s] = infinite_series(x); that returns with the...

거의 3년 전

문제를 풀었습니다


Deriving a function using the difference quotient
Write a function that evaluates the derivative of a function in a given point using the well-know formula of the difference quot...

거의 3년 전

문제를 풀었습니다


Why the heck are they blinking!?!?
Merry Christmas everyone! Sadly, the lights you've had on your tree for so many years burned out, and it's time to get a new se...

거의 3년 전

문제를 풀었습니다


Do the line-segments intersect?
You are given two line segments. Do they cross? Consider one segment as (x1,y1) to (x2,y2), the other segment as (x3,y3) to (...

거의 3년 전

문제를 풀었습니다


Pairwise Euclidean Distance
Given two matrices A,B of dimensions NxK and NxL respectively, calculate the pairwise euclidean distance of all vectors (columns...

거의 3년 전

문제를 풀었습니다


Slicing the cube
A bored matlab enthusiast has a cube with volume n^3. He decides to paint the entire surface of the cube red. Then, with slices...

거의 3년 전

문제를 풀었습니다


Fun with a compass
Each night for the past week, you have been having the same nightmare: You find yourself back in your junior high school geometr...

거의 3년 전

문제를 풀었습니다


Octoberfest festival
A group of students decided to visit Octoberfest festival. First they ordered one beer, then after half-hour they taken one more...

거의 3년 전

문제를 풀었습니다


Circle/Pentagon Overlap
Your function will be provided with the five vertices of a pentagon (p) as well as the center point (cp) and radius (r) of a cir...

거의 3년 전

문제를 풀었습니다


Find the maximum number of decimal places in a set of numbers
Given a vector or matrix of values, calculate the maximum number of decimal places within the input. Trailing zeros do not coun...

거의 3년 전

문제를 풀었습니다


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

거의 3년 전

문제를 풀었습니다


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

거의 3년 전

문제를 풀었습니다


Minimum Distance Point to Segment
This Challenge is to determine the minimum distance from a 2-D line segment defined by two points to a point. The point is (p...

거의 3년 전

문제를 풀었습니다


Avalaible area: wall construction
You need to build a wall to enclose a certain area. Calculate the available area after you build the wall. Assumptions * ...

거의 3년 전

문제를 풀었습니다


Pi Digit Probability
Assume that the next digit of pi constant is determined by the historical digit distribution. What is the probability of next di...

거의 3년 전

문제를 풀었습니다


Rotate Matrix @180 degree
Rotate Matrix @180 degree Example A=[8 1 6; 3 5 7; 4 9 2], then answer would be [2 9 4;...

거의 3년 전

문제를 풀었습니다


Draw a '4' in a zero matrix!

거의 3년 전

문제를 풀었습니다


Draw a '6' in a zero matrix!

거의 3년 전

문제를 풀었습니다


Draw a '9' in a zero matrix!

거의 3년 전

문제를 풀었습니다


Draw a '7' in a zero matrix!

거의 3년 전

문제를 풀었습니다


Draw a '3' in a zero matrix!

거의 3년 전

문제를 풀었습니다


Draw a '8' in a zero matrix!

거의 3년 전

문제를 풀었습니다


Draw a '2' in a zero matrix!

거의 3년 전

문제를 풀었습니다


Draw a '5' in a zero matrix!

거의 3년 전

문제를 풀었습니다


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

거의 3년 전

문제를 풀었습니다


Draw a '1' in a zero matrix!

거의 3년 전

문제를 풀었습니다


Calculate Euler's phi function
Compute the Euler's phi function of a large integer. For more information about this topic please visit: <https://en.wikiped...

거의 3년 전

문제를 풀었습니다


Draw a 'Z'.
Given _n_ as input, generate a n-by-n matrix like 'Z' by _0_ and _1_ . Example: n=5 ans= [1 1 1 1 1 0 0 0 1 ...

거의 3년 전

더 보기