문제를 풀었습니다


Counting candies
In a classroom of |'n'| children, every even numbered child gets one big candy and every odd numbered child gets two small candi...

거의 8년 전

문제를 풀었습니다


Church Encoding
Church encoded numeral is a function which takes two arguments _f_ and _x_ and applies _f_ to _x_ several times. For example,...

거의 8년 전

문제를 풀었습니다


Flipping a Matrix
Flipping matrix up and down. If a central row is exists, leave it, and flip remaining rows. Example Mat = magic(3) ...

거의 8년 전

문제를 풀었습니다


Where is the number that you want to find?
For a given matrix A, find where the input number x appears. Do this task by returning the vector which contains the row and th...

거의 8년 전

문제를 풀었습니다


Pairwise column flip
Given matrix *M_in*, flip every pair of columns. So if *M_in* is 1 2 3 4 1 2 3 4 then *M_out* is 2 1 4 3 2 1 4 3 ...

거의 8년 전

문제를 풀었습니다


Generate binary combinations for a given number of bit(s)
Generate the binary combination as in the example below. Example: If you are given: bin_comb(2) The answer will be: ...

거의 8년 전

문제를 풀었습니다


Permutation
How many different words can be formed using all the letters(together) from a given input word? Input is a string.

거의 8년 전

문제를 풀었습니다


Check if two matrices are permutations of each other
Your function should return true for the elements of one matrix is the permutation of the other matrix: x = [1 2 3; 4 5 6; ...

거의 8년 전

문제


Is input the global variable z?
When the input is certainly not the global variable |z|, your function must return |false|. Otherwise return |true|. All input...

거의 8년 전 | 0 | 솔버 수: 4

문제를 풀었습니다


0, 2, 0, -2, 0, 2, 0, -2, ...
Generate the first n terms of a periodic sequence defined as f(x) = 0, 2, 0, -2, 0, 2, 0, -2, ..., for x = 1, 2, 3, 4, 5, 6...

거의 8년 전

문제를 풀었습니다


Make an identity matrix whose diagonal elements are 1:n
For a given input n, make an n by n identity matrix that contains the elements 1:n along its diagonal. For example, if input=5: ...

거의 8년 전

문제를 풀었습니다


Increment up an input vector
Increment up an input vector by adding the indices to the vector values. For example, if an input vector is [3, 2, 6, 1, 6], the...

거의 8년 전

문제를 풀었습니다


Repeat Vector Values an Arbitrary Number of Times
Given two vectors of the same size, repeat the values of the first vector the number of times given in a second vector. For exam...

거의 8년 전

문제를 풀었습니다


Sum the rows
Sum the rows of the given matrix. Example x = [ 1 2 3 4 ] y = [ 3 7 ]

거의 8년 전

문제를 풀었습니다


find the 'M'
for an input x, return 1 at the location of the letter 'M'

거의 8년 전

문제를 풀었습니다


Negative without '-'
Simple: return a negative number without using the '-' sign. Thanks to Problem <https://www.mathworks.com/matlabcentral/cody/...

거의 8년 전

문제를 풀었습니다


Count the Digits in the Box
In this problem you must provide an accurate census of all the digits inside a given box. The problem is complicated by the fact...

거의 8년 전

문제를 풀었습니다


determine if
determine if the elements of a matrix is a nan and return true

거의 8년 전

문제를 풀었습니다


wipe out!
make all the elements in given x zero.

거의 8년 전

문제를 풀었습니다


true or false
if the matrix has a zero, return true. else, return false

거의 8년 전

문제를 풀었습니다


Divide the Least Common Multiple by the Greatest Common Divisor of two numbers
Divide the Least Common Multiple by the Greatest Common Divisor of two numbers. For example, for x=12345 and y=54321, the answer...

거의 8년 전

문제를 풀었습니다


Create a New_Word
The output of the function is a new word created from the word entered into the function. The new word is created by deleting th...

거의 8년 전

문제를 풀었습니다


Create cotangent function out of sine.
Please, don't use cos, tan, cot matlab functions.

거의 8년 전

문제를 풀었습니다


Energy-Mass Equivalence
Given input enegy of the object, E, and constant c = 300,000,000, find the mass of the object.

거의 8년 전

문제를 풀었습니다


MPS to MPH
Given the speed in miles per second, find the speed in miles per hour.

거의 8년 전

문제를 풀었습니다


Degrees to Radian
Convert degrees to radians

거의 8년 전

문제를 풀었습니다


Radians to Degrees
Convert radians to degrees.

거의 8년 전

문제를 풀었습니다


write a function to calculate the snr after quantizing the signal in dB
osig : original signal qsig : quantized signal qerror : quantization error HINT: snr = 10×log10(sum(osig × osig)/sum...

거의 8년 전

문제를 풀었습니다


Negative Infinity
Round the given array a towards negative infinity.

거의 8년 전

문제를 풀었습니다


Find the binary code
Given a sinusoidal signal, create a function that returns the binary code of a quantized value. The function takes the bit lengt...

거의 8년 전

더 보기