문제를 풀었습니다


Replicate elements in vectors (★★★)
(copy of Prob 867) Replicate each element of a row vector (with NaN) a constant number of times. Examples n=2, A=[1 2...

3개월 전

문제를 풀었습니다


Remove the row average (★★★)
(copy of Prob. 963) Given a 2-d matrix, remove the row average from each row. Your solution MUST be vectorized. The solut...

3개월 전

문제를 풀었습니다


Average of corner elements of a matrix (★★)
(copy of prob 2235) Calculate the average of corner elements of a matrix. e.g. x=[1 2 3; 4 5 6; 7 8 9;] avg = (1+3+7+9)...

3개월 전

문제를 풀었습니다


Generate a vector which contains a pyramid pattern (★★★★)
Generate a vector that contains terms that follows a pyramid pattern up to the nth row: 1 2 2 3 3 3 4 4 4 4 ...

3개월 전

문제를 풀었습니다


Doubling elements in a vector (★★)
(copy of prob. 1024) Given the vector A, return B in which all numbers in A are doubling. So for: A = [ 1 5 8 ] t...

3개월 전

문제를 풀었습니다


Ordered pairs of integers (I, J).
Write a MATLAB function that calculates the number of ordered pairs of integers (I, J) that can be formed satisfying the conditi...

3개월 전

문제를 풀었습니다


Number of o rderd pairs of integers (I,J) that can be formed.
Write a MATLAB function that calculates the number of ordered pairs of integers (I, J) that can be formed satisfying the condit...

3개월 전

문제를 풀었습니다


Shape Shifter - Part 1

3개월 전

문제를 풀었습니다


Award medals to winners

3개월 전

문제를 풀었습니다


Determine the winner of a goofy golf tournament
My brother and father were playing golf one day, and they caught up to a group that was part of a tournament. The group members ...

3개월 전

문제를 풀었습니다


Find an inscribed square on a closed curve
Here's an unproven conjecture from geometry: Every simple closed curve in a plane contains all four vertices of some square. ...

3개월 전

문제를 풀었습니다


Beat the RNG - EASY

3개월 전

문제를 풀었습니다


divide by 5

3개월 전

문제를 풀었습니다


Compute the date of a special marriage milestone

3개월 전

문제를 풀었습니다


Factorize uniquely! (★★)

3개월 전

문제를 풀었습니다


Solve a ballot counting problem

3개월 전

문제를 풀었습니다


Convert Cylindrical Cooridinates into Spherical Coordinate
For Cylindrical coordinate point, rho, fie (degrees) and z. Convert these points in Spherical Cooridinate System and save result...

3개월 전

문제를 풀었습니다


Surface area of a cone

3개월 전

문제를 풀었습니다


Perimeter of a Triangle

3개월 전

문제를 풀었습니다


find the value

3개월 전

문제를 풀었습니다


Surface area of a sphere
Given the radius of a sphere, find it's Surface area

3개월 전

문제를 풀었습니다


Solve the Challenger puzzle

3개월 전

문제를 풀었습니다


Sort in descending order.

3개월 전

문제를 풀었습니다


Find sum of numbers on the cornice of a matrix.

3개월 전

문제를 풀었습니다


LCM

3개월 전

문제를 풀었습니다


GCD

3개월 전

문제를 풀었습니다


Last Digit of fibonacci number

3개월 전

문제를 풀었습니다


Parabolic Partial Differential Equations: Explicit Method

3개월 전

문제를 풀었습니다


Determine the factorial of a number

3개월 전

더 보기