문제를 풀었습니다


Find out sum of prime number till given number
Find out sum of prime number till given number Example, if number is 10, then answer must be 17.

1년 초과 전

문제를 풀었습니다


Change the sign of even index entries of the reversed vector
change the signs of the even index entries of the reversed vector example 1 vec = [4 -1 -2 9] ans = [9 2 -1 -4] example2...

거의 2년 전

문제를 풀었습니다


Find nth maximum
Find nth maximum in a vector of integer numbers. Return NaN if no such number exists. x = [2 6 4 9 -10 3 1 5 -10]; So ...

거의 2년 전

문제를 풀었습니다


Sum of series VI
What is the sum of the following sequence: Σk⋅k! for k=1...n for different n?

대략 2년 전

문제를 풀었습니다


Sum of series V
What is the sum of the following sequence: Σk(k+1) for k=1...n for different n?

대략 2년 전

문제를 풀었습니다


Sum of series IV
What is the sum of the following sequence: Σ(-1)^(k+1) (2k-1)^2 for k=1...n for different n?

대략 2년 전

문제를 풀었습니다


Sum of series III
What is the sum of the following sequence: Σ(2k-1)^3 for k=1...n for different n?

대략 2년 전

문제를 풀었습니다


Sum of series II
What is the sum of the following sequence: Σ(2k-1)^2 for k=1...n for different n?

대략 2년 전

문제를 풀었습니다


Sum of series I
What is the sum of the following sequence: Σ(2k-1) for k=1...n for different n?

대략 2년 전

문제를 풀었습니다


Create sequnce 1 4 9 16 25.........
Create sequnce 1 4 9 16 25......... upto entered input value using matlab scripting commands. Let y be output and x be input

대략 2년 전

문제를 풀었습니다


Find the Best Hotels
Given three input variables: hotels - a list of hotel names ratings - their ratings in a city cutoff - the rating at which yo...

대략 2년 전

문제를 풀었습니다


De-primed
Write a function that will multiply every prime number in the array or matrix by two, leaving all other numbers the same, and re...

대략 2년 전

문제를 풀었습니다


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

대략 2년 전

문제를 풀었습니다


Find last zero for each column
Given a numeric array of arbitrary size, return the row index of the last zero for each column. If a column contains all nonzero...

대략 2년 전

문제를 풀었습니다


Find the peak 3n+1 sequence value
A Collatz sequence is the sequence where, for a given number n, the next number in the sequence is either n/2 if the number is e...

대략 2년 전

문제를 풀었습니다


Create an index-powered vector
Given a input vector x, return y as index-powered vector as shown below. Example x = [2 3 6 9] then y should be [...

대략 2년 전

문제를 풀었습니다


Rotate Matrix @180 degree
Rotate Matrix @180 degree Example A=[8 1 6; 3 5 7; 4 9 2], then answer would be [2 9 4;...

대략 2년 전

문제를 풀었습니다


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

대략 2년 전

문제를 풀었습니다


Converts numbers into characters
Converts numbers into characters

대략 2년 전

문제를 풀었습니다


to the 2 all elements
to the 2 all elements

대략 2년 전

문제를 풀었습니다


Draw a '0' in a one matrix!

대략 2년 전

문제를 풀었습니다


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

대략 2년 전

문제를 풀었습니다


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

대략 2년 전

문제를 풀었습니다


Square root
Given x (a matrix), give back another matrix, where all the elements are the square roots of x's elements.

대략 2년 전

문제를 풀었습니다


Double all elements in the array
Duplicate all elements in the array

대략 2년 전

문제를 풀었습니다


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

대략 2년 전

문제를 풀었습니다


Flipping
Write code that can reverse the vector without using any sort of loop. Example Given the input vector A = [ 1 2 3 4 5...

대략 2년 전

문제를 풀었습니다


Flip the bit
Given an input character string (e.g. '1001'), return a character string with the bits flipped ('0110').

대략 2년 전

문제를 풀었습니다


Flipping a Matrix
Flipping matrix up and down. If a central row is exists, leave it, and flip remaining rows. Example Mat = magic(3) ...

대략 2년 전

문제를 풀었습니다


Swap two numbers
Example Input: a = 10 b = 20 Output a = 20 b = 10

대략 2년 전

더 보기