문제를 풀었습니다


Crate a vector of logarithmically spaced
Create a vector of logarithmically spaced from 10^0 to 10^x with n sample Example: if x=4 and n=3 Answer must be=[1 100 10...

5년 초과 전

문제를 풀었습니다


Calculate days until Christmas
Provided with inputs year, month, day e.g. 2019,11,12, calculate the number of days until the next Christmas day, i.e. the next ...

5년 초과 전

문제를 풀었습니다


calculate Compound Intrest
Calculate Compound Intrest for given data

5년 초과 전

문제를 풀었습니다


Falling on the Moon.

5년 초과 전

문제를 풀었습니다


Ohm's Law
Well its Ohm's law... So V = IR! I will give two of the three values, such as V and I or I and R and you have to return th...

5년 초과 전

문제를 풀었습니다


Place numbers
Given two input first input is a matrix which consist of the index numbers of the second input vector. You place the second inpu...

5년 초과 전

문제를 풀었습니다


Quadratic equation
given three inputs (a, b, c) for the equation a*x^2+b*x+c=0; return 1 if the roots are complex (non zero imaginary), and 0 if th...

5년 초과 전

문제를 풀었습니다


Calculate the Number of Sign Changes in a Row Vector (No Element Is Zero)
For a row vector: V=[7 1 2 -3] there is one sign change (from 2 to -3). So, the function you write must return N=1. F...

5년 초과 전

문제를 풀었습니다


Implement a bubble sort technique and output the number of swaps required
A bubble sort technique compares adjacent items and swaps them if they are in the wrong order. This is done recursively until al...

5년 초과 전

문제를 풀었습니다


Test - Add sequence of numbers with given start, step, and end

5년 초과 전

문제를 풀었습니다


Red Cross ❌

5년 초과 전

문제를 풀었습니다


Projector Matrix
Write a function to determine whether or not the matrix is a projector. Projector matrices are defined as P^2 = P.

5년 초과 전

문제를 풀었습니다


Ackerman Function

5년 초과 전

문제를 풀었습니다


Can the given sides form a triangle?
Can the three given sides form a triangle?

5년 초과 전

문제를 풀었습니다


Translate German decimals to English decimals
The string 'x = [2,5; 5,5; 4,3];' should return 'y = [2.5; 5.5; 4.3];'

5년 초과 전

문제를 풀었습니다


'Determine if array of numbers is odd'
Return true if the input single number is odd. If the input is a vector, it will return a vector or array of logical values indi...

5년 초과 전

문제를 풀었습니다


The average of the second largest values
Given a matrix, find the average of the second largest values in each row. The same value does not exist on a row. Example: ...

5년 초과 전

문제를 풀었습니다


Adding Cells with numbers defined as strings
Given a cell, with strings representing numbers, add each value. For example: a = {'9','33'}; the output should be: ...

5년 초과 전

문제를 풀었습니다


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

5년 초과 전

문제를 풀었습니다


Back to Basics - New Data Type in R2016b - convert a char to a string
Convert an char array into a string.

5년 초과 전

문제를 풀었습니다


Shift elements of vector left
Shift elements of vector to the left. For ex. : Input_vec = [1 2 3 4 5] Output_vec = [2 3 4 5 1]

5년 초과 전

문제를 풀었습니다


Create tangent function out of sin and cos
Please don't use tan(x) directly

5년 초과 전

문제를 풀었습니다


The sum of individual numbers...
Well this one is taking a number and then summing the individual parts till you reach a value of 1, 2, 3, 4, 5, 6, 7, 8, 9, or 0...

5년 초과 전

문제를 풀었습니다


Parasitic numbers
Test whether the first input x is an n-parasitic number: <http://en.wikipedia.org/wiki/Parasitic_number>. ( _n_ is the second in...

5년 초과 전

문제를 풀었습니다


Evened up (or not)
You will be provided with an array or matrix that contains various numbers, in addition to an evening variable, e, set to 1 or 0...

5년 초과 전

문제를 풀었습니다


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...

5년 초과 전

문제를 풀었습니다


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...

5년 초과 전

문제를 풀었습니다


Check if a number belongs in the fibonacci squence
Test if integer i is a number in the fibonacci sequence. Return true if it is.

5년 초과 전

문제를 풀었습니다


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

5년 초과 전

문제를 풀었습니다


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

5년 초과 전

더 보기