문제를 풀었습니다


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

6년 초과 전

문제를 풀었습니다


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

6년 초과 전

문제를 풀었습니다


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

6년 초과 전

문제를 풀었습니다


Given a matrix A return a vector of the product of the elements in each column using a loop without using prod.
--------------------- for m: 3 1 3 3 10 1 9 1 9 4 1 4 5 6 5 ...

6년 초과 전

문제를 풀었습니다


Calculate a Damped Sinusoid
The equation of a damped sinusoid can be written as |y = A.ⅇ^(-λt)*cos(2πft)| where |A|, |λ|, and |f| ...

거의 7년 전

문제를 풀었습니다


Find the Best Hotels
Given three input variables: * |hotels| - a list of hotel names * |ratings| - their ratings in a city * |cutoff| - the rat...

거의 7년 전

문제를 풀었습니다


Convert from Fahrenheit to Celsius
Given an input vector |F| containing temperature values in Fahrenheit, return an output vector |C| that contains the values in C...

거의 7년 전

문제를 풀었습니다


Chào các bạn.
Cho 3 số. Tính tổng của chúng

거의 7년 전

문제를 풀었습니다


Repeat elements of a vector
Repeat each elements of a given vector according to their values. say x=[1,2,1,3] y=[1,2,2,1,3,3,3]

거의 7년 전

문제를 풀었습니다


Given a vector x, return vector y with all negative elements from the vector x.
Given a vector x, return vector y with all negative elements from the vector x if x has negative elements. Otherwise return 0. ...

거의 7년 전

문제를 풀었습니다


Takuzu row
Takuzu row is one row in a logic puzzle of a rectangular grid. The rules are as follows: (1) The row is filled with 1s and 0s...

거의 7년 전

문제를 풀었습니다


factorial
calculate x!

거의 7년 전

문제를 풀었습니다


Square
square root of x

거의 7년 전

문제를 풀었습니다


Remove element(s) from cell array
You can easily remove an element (or a column in any dimension) from a normal matrix, but assigning that value (or range) empty....

거의 7년 전

문제를 풀었습니다


Find square of given number
Find Square of any number

거의 7년 전

문제를 풀었습니다


Square root of number
Square root of given number.

거의 7년 전

문제를 풀었습니다


Create a "+" flag
Given two odd numbers, [m, n], return a matrix of size m x n which has all elements of the centre column and centre row set as 1...

거의 7년 전

문제를 풀었습니다


to the 2 all elements
to the 2 all elements

거의 7년 전

문제를 풀었습니다


Check prime numbers
Let x, return 1 if x is a prime number, 0 otherwise e.g x = 7, return y =1; x = 6 return y = 0;

거의 7년 전

문제를 풀었습니다


Converts numbers into characters
Converts numbers into characters

거의 7년 전

문제를 풀었습니다


the average value of the elements
Calculate the average value of the elements in the array

거의 7년 전

문제를 풀었습니다


easy problem
Find the last element of the array

거의 7년 전

문제를 풀었습니다


Find the max element of the array
Find the max element of the array

거의 7년 전

문제를 풀었습니다


calculate the length of matrix
input 1 array, calculate the length

거의 7년 전

문제를 풀었습니다


Sum sum!!!
Sum the numbers from 1 to n

거의 7년 전

문제를 풀었습니다


Calculate the square root of a number
Input a Output b = srt(a)

거의 7년 전

문제를 풀었습니다


Sum Sum Sum!
Calculate the sum of the natural numbers from 1 to n

거의 7년 전

문제를 풀었습니다


SAY 'OHYEAH'
Regardless of input, output the string 'OHYEAH'.

거의 7년 전

문제를 풀었습니다


anshil's problem
Only anshil should solve ans = ''

대략 7년 전

더 보기