문제를 풀었습니다


Initialize a Natural Number matrix.
Given length of matrix initialize a matrix consisting of natural numbers from 1 to n: n = 10; x = [ 1 2 3 4 5 6 7 8 9 10]; ...

대략 4년 전

문제를 풀었습니다


Give prime Numbers upto n
You are given a input number x; print all the prime numbers less than equal to x.

대략 4년 전

문제를 풀었습니다


Find the diagonal of the square of side L
You are given a square of side length L, find D the length of its diagonal.

대략 4년 전

문제를 풀었습니다


Polynomial evaluation
Compute the value of a polynomial of degree n with coeffcients in vector a, at value x. p(x)=a(1)+a(2)x+a(3)x^2+...+a(n+1)x...

대략 4년 전

문제를 풀었습니다


Xor of matrix
you have to set exclusive OR of two arrays

대략 4년 전

문제를 풀었습니다


Rotate counterclockwise a matrix 90 deg with left-bottom element
Example: Input [ 1 2 3 4 5 6 ] Output [ 3 6 2 5 1 4 ]

대략 4년 전

문제를 풀었습니다


Sum of digits of powers of 2
Given n, first, calculate the number 2^n. Then, sum the digits that comprise that number. For example: Input: n = 7 2^n = ...

대략 4년 전

문제를 풀었습니다


Numeric array to cell array of strings (easy)
Given a numeric array (A) and a 1xk cell array of strings (C), return a cell array (B) that is the same size as A and in which e...

대략 4년 전

문제를 풀었습니다


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

대략 4년 전

문제를 풀었습니다


check whether a number is a pentatope number
<https://oeis.org/A000332>

대략 4년 전

문제를 풀었습니다


Double Factorial
Return double factorial n(n-2)...(5)(3)(1), n>0, odd n!! = n(n-2)...(6)(4)(2), n>0, even 1 ...

대략 4년 전

문제를 풀었습니다


Square
square root of x

대략 4년 전

문제를 풀었습니다


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

대략 4년 전

문제를 풀었습니다


easy problem
Find the last element of the array

대략 4년 전

문제를 풀었습니다


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

대략 4년 전

문제를 풀었습니다


unsolvable

대략 4년 전

문제를 풀었습니다


Minimum Maximum Sort Array
sort one array by put minimum value followed by maximum as follow a=[2 3 1 5] and the solution is y=[1 5 2 3 3 2 5 1];

대략 4년 전

문제를 풀었습니다


Complex transpose
Calculate the transpose of a matrix having complex numbers as its elements without changing the signs of the imaginary part. ...

대략 4년 전

문제를 풀었습니다


STOP that car!!!
The maximum allowed speed for this road is 100. Find the cars that didn't observe the speed limit Arrest and fine them!!!

대략 4년 전

문제를 풀었습니다


how tall are you?
you can find the length wit this code.

대략 4년 전

문제를 풀었습니다


Sum multiples

대략 4년 전

문제를 풀었습니다


Divisors

대략 4년 전

문제를 풀었습니다


Double the next and alternate sign

대략 4년 전

문제를 풀었습니다


edge detection
write a function that gives the indexes of rising or falling edge x is a vector (assume it contains always at least one eleme...

대략 4년 전

문제를 풀었습니다


Throw common elements of two vector arrays in sorted manner
Throw common elements as output in sorted manner (acending order) of two given input vector arrays

대략 4년 전

문제를 풀었습니다


Find the second biggist number in a vector or a matrix

대략 4년 전

문제를 풀었습니다


Values in Array
How many values are in the array

대략 4년 전

문제를 풀었습니다


Number of problems
No, you don't read it wrong: this assignment is to return the number of this problem (and not the problem of this number).

대략 4년 전

문제를 풀었습니다


Sum of logarithms
Given a vector, v, of real positive numbers, compute the sum, s, of the base-10 logarithms of the elements of v, without the use...

대략 4년 전

문제를 풀었습니다


mathematics , probability problem
How many different result can we have, rolling k dice?

대략 4년 전

더 보기