문제를 풀었습니다


Sum All Positive Elements
Output a scalar that is equal to the sum of all positive elements in a given vector/matrix. For Example: The sum of all positi...

1년 초과 전

문제를 풀었습니다


Reverse a string
Return a string with the characters in reverse order from a given input string Ex: my_str = "Ciao" function should output "...

1년 초과 전

문제를 풀었습니다


Convert RGB to Grayscale
Convert a 3 element RGB array to its correspoding grayscale pixel (a scalar) *Hint: a formula exists!

1년 초과 전

문제를 풀었습니다


Palindrome Checker
Check to see if a given string is a palindrome (a word, phrase, or sequence that reads the same backward as forward). Output sh...

1년 초과 전

문제를 풀었습니다


Alternating 1´s and 0´s in a matrix
Given an odd number n, write a function that creates a matrix y with dimension nxn alternating 1's and 0's, and starting with 1 ...

1년 초과 전

문제를 풀었습니다


Check if is a square
Given four coordinates, write a function to check if they form a square on the XY plane.

1년 초과 전

문제를 풀었습니다


continuous compounding
what's the present value of having 100 dollars after n years given a continuously compounded rate i ? keep only 2 decimals pleas...

1년 초과 전

문제를 풀었습니다


Find the function
Given a set of point (x,y) and the coordinate x of a new point, find the y value of new point.

1년 초과 전

문제를 풀었습니다


Convert a vector to a lower triangular matrix
I now have a row vector and I want to convert it to a lower trilangular matrix. The rows of the lower trilangular matrix have t...

1년 초과 전

문제를 풀었습니다


Dealing with correlation results!
In this problem we would like to transform correlation coefficient MATRIX to a VECTOR which includes only unique elements of coe...

1년 초과 전

문제를 풀었습니다


Count digits
Count total number of digits from 1 to n. * n=13 * output=17 since from [1-9] total 9 digits.[10-13] total 4*2=8 digits.

1년 초과 전

문제를 풀었습니다


Aquiles y la tortuga
Contaba Zenón en su famosa paradoja que un día Aquiles, el guerrero griego más veloz de la Hélade, se enfrentó a una pequeña tor...

1년 초과 전

문제를 풀었습니다


La derivada numérica
El concepto de pendiente o inclinación de una función recta es muy intuitivo para cualquier persona. Desde el punto de vista mat...

1년 초과 전

문제를 풀었습니다


Reverse Calculator
Use this reverse calculator and give correct output Its simple, In my Reverse calculator if you press 0 it will be considered...

1년 초과 전

문제를 풀었습니다


Define the operators of function_handles
Suppose f and g are function_handles, try to define f+g,f-g,f*g and f/g. e.g. if f = @(x)x and g = @(x)x+1 ...

1년 초과 전

문제를 풀었습니다


Two-output anonymous function?
Return a function handle that when applied to an input, it produces two outputs: the first is the same as the input, and the sec...

1년 초과 전

문제를 풀었습니다


Better Index Number
Let's say you want to save many, many files and append these files with a certain sortable index number. As you probably know, y...

1년 초과 전

문제를 풀었습니다


modular arithmetic
Given three integers a,b and c, find the remainder when a^b is divided by c. Here, a^b will be well beyond the largest 64 bit in...

1년 초과 전

문제를 풀었습니다


Modulo with 5

1년 초과 전

문제를 풀었습니다


UICBioE240 problem 1.11
Store a series of numbers into a 4 by 4 matrix, starting with the first few positions going right and down, and leaving the rest...

1년 초과 전

문제를 풀었습니다


Anagram
Given two strings, check whether they're anagrams to each other or not.

1년 초과 전

문제를 풀었습니다


Matrix indexing with two vectors of indices (★★)
(copy of Prob 589) Given a matrix M and two index vectors a and b, return a row vector x where x(i) = M(a(i),b(i)). Thus, if...

1년 초과 전

문제를 풀었습니다


find a specific element from an matrix
Find the element from matrix which is in 2nd row and 3rd column.

1년 초과 전

문제를 풀었습니다


Calculate the peak value of square wave
Given the peak value of sine wave, calculate corresponding peak value of square wave, if both have same RMS voltage.

1년 초과 전

문제를 풀었습니다


Average of square wave
given positive and negative peak , calculate dc level, 50% duty cycle

1년 초과 전

문제를 풀었습니다


Matrix with increasing numbers (★★★★)

1년 초과 전

문제를 풀었습니다


Google Drive file download
This Challenge is to download a file from GoogleDrive given its "copylink" provided URL and a file name. GoogleDrive links fail...

1년 초과 전

문제를 풀었습니다


List the Fermi-Dirac primes
The Fermi-Dirac “primes” are prime powers with exponents that are powers of 2. The first nine terms of the sequence are 2, 3, 4,...

1년 초과 전

문제를 풀었습니다


Find index of non empty cell array
This question aims to understand the characteristics of MATLAB programs. Educational problem. Please find non empty index of ...

1년 초과 전

문제를 풀었습니다


Return strings encapsulated by braces
Return all substrings that are contained within braces ({}). For example: str = 'x = rho*x{-1} + (1-rho)*y{+1}'; when...

1년 초과 전

더 보기