문제를 풀었습니다


Are you more familiar with iteration methods or Linear Algebra? Let's see together.
Given a sum result *_x_* value of a *_N_* number of addends, build an array of _*N*_ elements _*y*_ such that the following equa...

7년 초과 전

문제를 풀었습니다


Get chain of consecutive characters
Write a function that will output a chain of consecutive characters, given 2 letters as input. It has to work backwards too. Exa...

7년 초과 전

문제를 풀었습니다


Compute average gain for some bets.
Given a vector containg the odds of some events in decimal format (e.g., |odds=[1.3 2.5 1.5]| ) and a vector of the same dimensi...

7년 초과 전

문제를 풀었습니다


Determine if input is odd or even
Determine if input is odd or even, sample problem

7년 초과 전

문제를 풀었습니다


Find argmax of a function
You are given vectors x and y (=f(x)). Return the element of x for which f(x) is maximized.

7년 초과 전

문제를 풀었습니다


Simple spirometer - find your lung capacity from the number and size of soap bubbles in one breath
Assumed that each bubble has practically the same diameter d. Given total number n of bubbles. Find volume v of breath.

7년 초과 전

문제를 풀었습니다


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

7년 초과 전

문제를 풀었습니다


Percentage profit:3
x% product is sold at r1% profit. However, our target overall profit is rt%. What is the required percentage profit to meet the ...

7년 초과 전

문제를 풀었습니다


Calculate SNR in dB using original signal and quantized signal
origs: the original signal quants: the quantized signal *hint* : need to calculate the quantization error and plug into SN...

7년 초과 전

문제를 풀었습니다


Please check the last row
We have data of matrix, that is input. That contains 2 or more rows and the last row should contain the average of each column,...

7년 초과 전

문제를 풀었습니다


The proportion of NaN in the data
If NaN occupies less than half of the input data, return 1, otherwise return 0. eg. input x = [1 2 NaN ; 4 NaN 6] >>> out...

7년 초과 전

문제를 풀었습니다


Add consecutive integer numbers
Given consecutive numbers, add the numbers *without using the sum command in MATLAB.*

7년 초과 전

문제를 풀었습니다


Just another sum (JAS)
*Task:* Write a function that takes a vector X and returns the alternating sum of X: X(1)-X(2)+X(3)-X(4)+... *Example...

7년 초과 전

문제를 풀었습니다


Arrange the names in alphabetical order (1)
Arrange the list of names in alphabetical order. The _original_ 'alphabetical order', that is: from α and β all the way throug...

7년 초과 전

문제를 풀었습니다


Just another norm problem (JANP)
*Task:* Implement a function that takes a square matrix A and returns a nonzero vector yc which minimizes ...

7년 초과 전

문제를 풀었습니다


determine the sum of fraction part for given matrix
determine the sum of fraction part for given matrix a=1.8308 8.9172 6.7537 1.5853 10.2858 5.3804 6.5497 ...

7년 초과 전

문제를 풀었습니다


Check if there are white spaces in the input string
If there are white spaces in the input string, output=1 else 0

7년 초과 전

문제를 풀었습니다


Archimedes principle
According to Archimedes principle, the buoyancy force is equal to the weight of fluid displaced by the submerged portion of an o...

7년 초과 전

문제를 풀었습니다


Compound interest - number e
A moneylender wants to receive his annual interest of 12% more frequently. If he receives his interest rate every six months,...

7년 초과 전

문제를 풀었습니다


First use of arrayfun() and anonymous function @(x)
Create an anonymous function using @(x) for a parabola equation for the given coefficients stored in s with s(1)x2 + s(2)x +...

7년 초과 전

문제를 풀었습니다


generate capital english alphabets
Based on the numeric input 'n', generate the capital english alphabet starting from A till the english alphabet at the 'n'th pos...

7년 초과 전

문제를 풀었습니다


ASCII sum of phrases
Find the sum of the numeric equivalents of all characters entered in a phrase. For example: for the phrase 'My name is test', th...

7년 초과 전

문제를 풀었습니다


surface areas of a cylinder
There are 3 inputs: option, radius and height. If option= '1', compute the lateral surface area of the cylinder, for option 2 ca...

7년 초과 전

문제를 풀었습니다


vector indexes for a matrix
Matlab allows us to use several indexing styles making code simpler and easier to read than using loops. Vectors can have ve...

7년 초과 전

문제를 풀었습니다


Pass the Threshold!!
Write a Matlab function that will take as input a matrix of arbitrary dimensions and a scalar threshold value, and return a vec...

7년 초과 전

문제를 풀었습니다


Let's make puddings !
We will make puddings with eggs, milk and sugar. To make one pudding, we need one egg, 140(cc) of milk, 15 (g) of sugar. Now W...

7년 초과 전

문제를 풀었습니다


Matrix to vector transformation
given a matrix, make in the output 1 column vector putting odd numbers in ascending order after that put the even numbers in des...

7년 초과 전

문제를 풀었습니다


Nth root of a number
Given an input and a number N, find the Nth root of the number(s)

7년 초과 전

문제를 풀었습니다


Repeat Vector Values an Arbitrary Number of Times
Given two vectors of the same size, repeat the values of the first vector the number of times given in a second vector. For exam...

7년 초과 전

문제를 풀었습니다


Find all repeated numbers
For a given vector, find all numbers that repeated 2 times or more than 2 times. Example: A=[1 2 3 3 4 5 6 6 7] y=[3 ...

7년 초과 전

더 보기