문제를 풀었습니다


A matrix of introverts
You are given a matrix full of numbers who happen to be very shy. Write a MATLAB function that will put a square of zeros aroun...

대략 5년 전

문제를 풀었습니다


Classification metrics

대략 5년 전

문제를 풀었습니다


Matrix Pattern 1

대략 5년 전

문제를 풀었습니다


Baseball Pitch Question
One pitcher made 10 practice pitches during his warm up before the game. Using the given information, create a vector matrix an...

대략 5년 전

문제를 풀었습니다


Concatenate matrix into 4 quadrants for given number of iteration
If given a matrix and number, output should be its concatenation like wavelet for given number of iterations. Example a ...

대략 5년 전

문제를 풀었습니다


Sum! Sum! Sum!
Calculate the sum of the sequence up to nth term >> a,aa,aaa,aaaa,... 2,22,222,2222,... [for a=2]

대략 5년 전

문제를 풀었습니다


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

대략 5년 전

문제를 풀었습니다


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 ]

대략 5년 전

문제를 풀었습니다


Determine the perimeter of a three-quarter circle
If a circle has a diameter of x as an input value, then show the value of the perimeter of the three-quarter circle in output va...

대략 5년 전

문제를 풀었습니다


How to Concatenate two strings?
How to Concatenate two strings?

대략 5년 전

문제를 풀었습니다


Second Diagonal
Transpose the matrix from it's second diagonal.

대략 5년 전

문제를 풀었습니다


Find the area of a triangle having vertices (A,B), (C,D), and (E,F)
Find the area of a triangle using if we have the three vertices of the triangle

대략 5년 전

문제를 풀었습니다


Find the outlier in a set of samples
Given an array x of numbers. Assumed that this array has one outlier. Find the position p and the value v of the outlier in this...

대략 5년 전

문제를 풀었습니다


Minimum possible M of the maximum side of a triangle of given area A.
Suppose a triangle has area A. Suppose it has three sides S1, S2, and S3. Suppose M = max([S1 S2 S3]). What is the minimum po...

대략 5년 전

문제를 풀었습니다


Values in Array
How many values are in the array

대략 5년 전

문제를 풀었습니다


Determine given vector is even or odd
Find the numbers of the input vector is odd or even then replace even with 1 and odd with 0 Example x = [ 3 3 4 6 1] ...

대략 5년 전

문제를 풀었습니다


Calcular la razón de proporcionalidad
Dadas dos magnitudes (a y b) en forma de vectores, crear una función que permita obtener la razón de proporcionalidad _*m*_ sólo...

대략 5년 전

문제를 풀었습니다


Area-01
Given the radius of the circle inscribed in a square, find the area that is not bounded by the circle but inside the square. ...

대략 5년 전

문제를 풀었습니다


Check if the input is a strong prime

대략 5년 전

문제를 풀었습니다


Check if the input is an interprime

대략 5년 전

문제를 풀었습니다


Go back n times
You will be given a column vector (such as x = [1; 2; 3; 4; 5; 6]). If (n=3) you will return following; [ 1 NaN NaN NaN ...

대략 5년 전

문제를 풀었습니다


Create an array from 1 to x in steps of 1.

대략 5년 전

문제를 풀었습니다


Circle : Square

대략 5년 전

문제를 풀었습니다


Orthogonal lines
Check whether two given lines are orthogonal or not. Two lines are orthogonal if they create a right angle at their intersect...

대략 5년 전

문제를 풀었습니다


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

대략 5년 전

문제를 풀었습니다


Return the 3n+1 sequence for n
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...

대략 5년 전

문제를 풀었습니다


Elements with highest local average
Input v is a row vector such that length(v)>3. Consider a sliding window of length 3 that is used to calculate the local average...

대략 5년 전

문제를 풀었습니다


Least common multiple of many numbers
1:6 -> 60

대략 5년 전

문제를 풀었습니다


Replace values out of an interval with the lower or upper values
For a vector or matrix X and an interval [n1,n2], the function replace every element of x inferior to n1 by n1, and every elemen...

대략 5년 전

문제를 풀었습니다


the number of inputs
Find the number of the inputs of the function. example y = theinputnumber(x,k); function called theinputnumber has 2 in...

대략 5년 전

더 보기