문제를 풀었습니다


Find minimum and maximum elements of an array
For a given array find minimum and maximum elements of an array and store minimum value in first index of output and maximum in ...

대략 6년 전

문제를 풀었습니다


Delete blanks at the end of string
you got to delete all blank spaces which appears at the end of string

대략 6년 전

문제를 풀었습니다


Throw common elements of two vector arrays
Throw common elements as output of two given input vector arrays

대략 6년 전

문제를 풀었습니다


Create an array (n,n) where only diagonal elements are '1' and others are '0'
Create an array (n,n) where only diagonal elements are '1' and others are '0' EX: n = 3; then Resultant array would be [ 1 0...

대략 6년 전

문제를 풀었습니다


Prime Letters = Removing
Given a string, remove all the letters which in ASCII Code are prime numbers. For Example: s1 = 'Determine which array e...

대략 6년 전

문제를 풀었습니다


NO _________ ALLOWED....
So you're given a sentence where if there is a particular word in the sentence then the output is 1, if it is not there then the...

대략 6년 전

문제를 풀었습니다


Card Game
This is an overly simplified and highly modified version of card game Twenty-Nine. A deck of 100 unique cards (hypothetical) ...

대략 6년 전

문제를 풀었습니다


Join Strings with Multiple Different Delimiters
The idea is to form the string S by interleaving the elements of a cell array of strings DELIMITER and another cell array of st...

대략 6년 전

문제를 풀었습니다


Tax Calculator
Calculate the tax for a given income. 10% tax is paid for any income up to $2,000. 20% tax is paid for additional income u...

대략 6년 전

문제를 풀었습니다


Volume of a Simplex
Return the volume of a <http://en.wikipedia.org/wiki/Simplex regular _n_-simplex> with a unit side length. Results are up to...

대략 6년 전

문제를 풀었습니다


Minimum Distance between two N-sided Polygons
This Challenge is to determine the minimum distance between two non-overlapping polygons. The input is a cell array of two vecto...

대략 6년 전

문제를 풀었습니다


sum of ASCII
Given a string x, return the sum of all ASCII numbers of all characters. for example, if x='lala' ('l'-> 108, 'a'->97) then y...

대략 6년 전

문제를 풀었습니다


Add the positive numbers
Add only the positive numbers of x example: x = [-2 -1 0 1 2 3] the positive numbers are: 1 2 3, so their sum is 6

대략 6년 전

문제를 풀었습니다


Avengers Assemble!
Given matrix with so many zeroes, trim those zeroes and output a matrix joining all nnz elements Example: input = [0 0 0 0 0...

대략 6년 전

문제를 풀었습니다


Integrate Me
Given polynomial, output the integral (with k = 1 for simplicity purposes) Example: input = [2 1] % 2x+1 output = [1 1 1]...

대략 6년 전

문제를 풀었습니다


Recursion at variable input
input of any length a =2 b =2 c =3 output = (a^b)^c = 64

대략 6년 전

문제를 풀었습니다


Create a code for XNOR
Given two inputs, output XNOR of those two

대략 6년 전

문제를 풀었습니다


BaeIsAlwaysRight
Output yes whatever bae says

대략 6년 전

문제를 풀었습니다


Create sine function out of cosine
Please don't use sin(x) directly

대략 6년 전

문제를 풀었습니다


Area-04
The dimension of a rectangle is given. There are two circles of equal size that are inscribed inside it.The circles are tangent ...

대략 6년 전

문제를 풀었습니다


Calculate the sum of elements of n*n Hilbert matrix.
Calculate the sum of elements of n*n Hilbert matrix. For example, for n=5: HilbertMatrix = [1.0000 0.5000 0.333...

대략 6년 전

문제를 풀었습니다


Find Euclidean norm of given vector u.
Find Euclidean norm of given vector u. https://en.wikipedia.org/wiki/Euclidean_distance Example x=[1 1] result=sqrt(1^2+1^2...

대략 6년 전

문제를 풀었습니다


Find product of eigenvalues of n*n magic matrix.
Find product of eigenvalues of n*n magic matrix. Example n=3 Matrix= [ 8 1 6; 3 5 7; 4 ...

대략 6년 전

문제를 풀었습니다


Percentage of zeros in a matrix of only 1s and 0s
Write a function called _zero_stat_ that takes a matrix as an input that only has 0 and 1 elements. The function needs to comput...

대략 6년 전

문제를 풀었습니다


easy problem
Find the last element of the array

대략 6년 전

문제를 풀었습니다


square a vector-Given the variable x as your input, square it and put the result in y.
function y = (x)squared y = x; end

대략 6년 전

문제를 풀었습니다


Convert from integer to binary
if true % decimalToBinaryVector(x) end

대략 6년 전

문제를 풀었습니다


Dots in a Circle
Return how many integer grid points there are inside a circle of radius _r_ centred at (0,0) (including points on the edge). ...

대략 6년 전

문제를 풀었습니다


Find 100 from a Matrix and Replace With 0 with less computation time
pls use this matrix x = [208 40 167 180 112 70 192 215 90 19 231 100 9 100 97 100 ...

대략 6년 전

문제를 풀었습니다


Find out Harmonic mean.
Find out Harmonic mean.

대략 6년 전

더 보기