Simon Pilgrim
Followers: 0 Following: 0
Feeds
문제를 풀었습니다
Average of square wave
given positive and negative peak , calculate dc level, 50% duty cycle
대략 3년 전
문제를 풀었습니다
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 ...
대략 3년 전
문제를 풀었습니다
Prime number removal
remove all prime numbers from the input e.g. input = 1 2 3 4 5 6 7 8 9 10 11 12 ...
대략 3년 전
문제를 풀었습니다
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 ...
대략 3년 전
문제를 풀었습니다
subtract central cross
Given an n-by-n square matrix, where n is an odd number, return the matrix without the central row and the central column.
대략 3년 전
문제를 풀었습니다
Write a function man that takes a row vector v and returns a matrix H as follows..
Write a function called man that takes a row vector v as an input and returns a matrix H whose first column consist of the eleme...
대략 3년 전
문제를 풀었습니다
Sum the real and imaginary parts of a complex number
Sum the real and imaginary parts of a complex number. Example c = 1+2i has the solution 1 + 2 = 3
대략 3년 전
문제를 풀었습니다
Half-Swap
Given a vector with an even number of elements, rearrange it so that the elements in its first half are switched with those i...
대략 3년 전
문제를 풀었습니다
Factorial Numbers
Factorial is multiplication of integers. So factorial of 6 is 720 = 1 * 2 * 3 * 4* 5 *6 Thus 6 factorial = factorial(720)....
대략 3년 전
문제를 풀었습니다
An Ohm's Law Calculator
*BACKGROUND / MOTIVATION:* Many important observations in math and science can be described by short, but powerful, equations...
대략 3년 전
문제를 풀었습니다
calculate the tangent of angle in radians
Calculate the tangent of angle in degrees
대략 3년 전
문제를 풀었습니다
Create a square matrix of zeros of even order
Create a square matrix of zeros of even order
대략 3년 전
문제를 풀었습니다
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...
대략 3년 전
문제를 풀었습니다
Find the mode of the given input
Find the statistical <http://en.wikipedia.org/wiki/Mode_(statistics)/ mode> of the given input. Example: If X is matr...
대략 3년 전
문제를 풀었습니다
Vector Multiplication
Vector Multiplication of three matrix as shown in test cases.
대략 3년 전