문제를 풀었습니다


Draw Letter 'L'

9개월 전

문제를 풀었습니다


Sort Non-zeros
Consider 0s in a vector creates a break-point. sort all the sub-arrays created by those break points. For example, a = [3, 4, 1...

9개월 전

문제를 풀었습니다


Chain multiplication - 01
Say, you are given two matrices - A (shape= 3*4) and B(shape = 4*5). If you multiply these two matrices, the resultant matrix w...

9개월 전

문제를 풀었습니다


Find the remainder - 02
Given an array of integers, find the remainder when the summation of all the elements is divided by N

9개월 전

문제를 풀었습니다


Falling on the Moon.

9개월 전

문제를 풀었습니다


Rumis Scorer 2
<http://en.wikipedia.org/wiki/Rumis Rumis> is a multiplayer 3D block board game where the goal is to have the most squares visib...

9개월 전

문제를 풀었습니다


Rumis Scorer 1
<http://en.wikipedia.org/wiki/Rumis Rumis> is a multiplayer 3D block board game where the goal is to have the most squares visib...

9개월 전

문제를 풀었습니다


Get a Fibonacci number's index.
*N.B.* For the purpose of this exercise, the first Fibonacci number is 1, and the second is 2; that is, |fib(1) = 1| and |fib(2)...

9개월 전

문제를 풀었습니다


Create cell array of numeric arrays
Convert the input to a cell array, but only if necessary. If the input is a numeric array, return a 1-by-1 cell array contain...

9개월 전

문제를 풀었습니다


Dice roll - lateral faces
For this problem, you will be provided with the values of a dice roll (regular six-sided dice). The number of dice will be at le...

9개월 전

문제를 풀었습니다


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

9개월 전

문제를 풀었습니다


Gold/Silver Standard
Pursuant to the <http://www.mathworks.com/matlabcentral/cody/problems/8045-gold-standard Gold Standard> problem, suppose that yo...

9개월 전

문제를 풀었습니다


Find Min and Max Differences in a Vector
Given an array of integers, return the absolute largest and smallest (non zero) difference between any two numbers in the array....

9개월 전

문제를 풀었습니다


Distance Travelled by Vehicle

9개월 전

문제를 풀었습니다


Find the equivalent resistance of a dc circuit

9개월 전

문제를 풀었습니다


[Thermodynamics] Estimate boiling point of n-alkanes
Estimate the boiling point (in Kelvin) of n-Alkanes (n >= 2) using the group contribution method of Joback --- ...

9개월 전

문제를 풀었습니다


Concatenate string with cell array of strings
Given a cell array of strings (a), a target string (b), and a target position (ind), return a cell array of strings (c) in which...

9개월 전

문제를 풀었습니다


Effective Nuclear Charge

9개월 전

문제를 풀었습니다


Find Current in R circuit.
Find the current in an R circuit for a given input of Voltage (V) and Resistance(R).

9개월 전

문제를 풀었습니다


Triple function composition
Given three functions f,g and h, create the composed function y=f(g(h)). Example f = @(x) x+1 g = @(x) x/2 h = @(x) ...

9개월 전

문제를 풀었습니다


Molecule Atomic Wt (CHONS) Molecules
Given a molecular equation string determine its atomic weight. Limited atoms of C H O N and S where wts are rounded to [12 1 16...

9개월 전

문제를 풀었습니다


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

9개월 전

문제를 풀었습니다


Path calculation with polynomials
Let a vector x be the input to our function. 1. If a value of an input vector element x is lower than 0, set this value to 0....

9개월 전

문제를 풀었습니다


Find smallest number to leave a remainder of 1
given a vector of numbers, find the smallest number to be divisible by all of them with a remainder of 1. Note: input numbers wi...

9개월 전

문제를 풀었습니다


Rule of mixtures (composites) - lower and upper bounds (volumes)
The <http://en.wikipedia.org/wiki/Rule_of_mixtures rule of mixtures> is used in the mechanical design of composite structures to...

9개월 전

문제를 풀었습니다


A different counting method
Given an array (x) of integers, the "counting" array (y) is showing the number of identical consecutive integers in x in front o...

9개월 전

문제를 풀었습니다


MATLAB Basics: Complex Argument
For a given complex number, x, return the argument, y, in degrees.

9개월 전

문제를 풀었습니다


MATLAB Basics: Complex Conjugates
For a given complex number, x, return the complex conjugate, y.

9개월 전

문제를 풀었습니다


MATLAB Basics: Complex Numbers
For a given complex number, x, return the real and imaginary parts as a vector, y = [Real Imaginary].

9개월 전

더 보기