문제를 풀었습니다


Return the middle element of an NxN square matrix where N is odd
Let's say you are given an NxN square matrix where N is always going to be an odd number: x = [ 1 2 3 4 5 6 7 8 ...

2년 초과 전

문제를 풀었습니다


The Piggy Bank Problem
Given a cylindrical piggy bank with radius g and height y, return the bank's volume. [ g is first input argument.] Bonus though...

2년 초과 전

문제를 풀었습니다


Quote Doubler
Given a string s1, find all occurrences of the single quote character and replace them with two occurrences of the single quote ...

2년 초과 전

문제를 풀었습니다


Replace NaNs with the number that appears to its left in the row.
Replace NaNs with the number that appears to its left in the row. If there are more than one consecutive NaNs, they should all ...

2년 초과 전

문제를 풀었습니다


Which doors are open?
There are n doors in an alley. Initially they are all shut. You have been tasked to go down the alley n times, and open/shut the...

2년 초과 전

문제를 풀었습니다


Convert Fahrenheit to Kelvin
Convert the value f in Fahrenheit to Kelvin

2년 초과 전

문제를 풀었습니다


Check if integer is a prime number
Check if integer i is a prime number. Returns logical true '1' if it is.

2년 초과 전

문제를 풀었습니다


Check if number is a square number
Test if integer i is a square number. Return logical true if it is.

2년 초과 전

문제를 풀었습니다


Calculate the area of a circle
Given a circle of diameter x calculate its area

2년 초과 전

문제를 풀었습니다


basic matrix operations: rotate and find sum of diagonal elements of the resultant matrix
For given input matrix a, rotate it by 90 degrees and find the sum of the diagonals. Example: Input: a = 1 ...

2년 초과 전

문제를 풀었습니다


Find the efficiency

2년 초과 전

문제를 풀었습니다


Divide pi
Divide pi by x!

2년 초과 전

문제를 풀었습니다


Multiply pi
Multiply pi with x!

2년 초과 전

문제를 풀었습니다


"Find out the best cricket"
This is how I originally read Problem 2013, so let's just go with it. Give me the first and last name of the best cricket, rega...

2년 초과 전

문제를 풀었습니다


Perfect Square
Determine if the input is a perfect square (square of an integer) or not. Example - If input is 25(==5^2), return 1. If input...

2년 초과 전

문제를 풀었습니다


Digits Multiplication
Your function should calculate the product of the digits of a positive given integer excluding any zeroes. Example: the result ...

2년 초과 전

문제를 풀었습니다


Do Fast Fourier Transformation
Example Fast Fourier Transformation from vector [2,1]) ans = 3 1

2년 초과 전

문제를 풀었습니다


Determine whether the number is multiple of 3 or not
Let a=6 and as 6 = 2*3 which means 6 is multiple of 3; return true if a is multiple of 3,otherwise false.

2년 초과 전

문제를 풀었습니다


Component area
Find the area of the component below, all measurements are in mm <<https://image.ibb.co/hocruF/Component.png>>

2년 초과 전

문제를 풀었습니다


For a given linear index as input for n sized square matrix, find corresponding row and column.
If input is 1, the row and column will be 1 and 1 respectively.

2년 초과 전

문제를 풀었습니다


Select primes from the matrix.
Select primes from the matrix.

2년 초과 전

문제를 풀었습니다


Capitalized string operations
Convert the input sentence to upper case and replace all vowels with an underscore ('_')

2년 초과 전

문제를 풀었습니다


Nth root of a number
Given an input and a number N, find the Nth root of the number(s)

2년 초과 전

문제를 풀었습니다


convert the number to binary format & count digits
Convert the given number to the corresponding binary format and count the number of digits in that binary number

2년 초과 전

문제를 풀었습니다


Permutations of input vector
Find and output all permutations of given vector

2년 초과 전

문제를 풀었습니다


Vertically stack two vectors
Stack two vectors on top of each-other so that... if A = [1 5 3] and B = [8 6 4] then C = [1 5 3 ; 8 6 4]

2년 초과 전

문제를 풀었습니다


Cody Matlab Version
What is the current Cody Matlab Release? *Output:* string *Examples:* '(R2012a)' or 'R2012a' Hint: We have mo...

2년 초과 전

문제를 풀었습니다


convert binary string to vector!!!

2년 초과 전

문제를 풀었습니다


Round to Nearest Multiple of 10^n

2년 초과 전

문제를 풀었습니다


Modulation index
The amplitude of the carrier signal is 2V and the amplitude of the modulating signal is 8V. Find its modulation index.

2년 초과 전

더 보기