문제를 풀었습니다


More Simple String Concatenation
Take the first string input, reverse the order of the string from the end to beginning (i.e. apple becomes elppa), add a space a...

3년 초과 전

문제를 풀었습니다


Vector Element Multiplication
Take two incoming vectors, and output the element wise multiplication of the vectors.

3년 초과 전

문제를 풀었습니다


Matrix multiplication
Multiply two incoming matrices via matrix multiplication

3년 초과 전

문제를 풀었습니다


Resizing Matrices
Take an 4x3 matrix, and resize it to a 2x6 matrix

3년 초과 전

문제를 풀었습니다


Simple Vector Addition
Take two incoming vectors and output the sum of the two vectors

3년 초과 전

문제를 풀었습니다


Matrix Max Finder
Output the maximum value in a matrix

3년 초과 전

문제를 풀었습니다


Sum two matrices
Take two incoming matrices, and sum them

3년 초과 전

문제를 풀었습니다


Find the index of the lowest number in a matrix
Take a matrix, and find the [row cal] index of the lowest number

3년 초과 전

문제를 풀었습니다


Draw a '1' in a zero matrix!

3년 초과 전

문제를 풀었습니다


Find x rows where the sum of the numbers is the maximum

3년 초과 전

문제를 풀었습니다


Generate N equally spaced intervals between -L and L
Given N and L, return a list of numbers (in ascending order) that divides the interval [-L L] into N equal-length segments. F...

3년 초과 전

문제를 풀었습니다


Can we make a triangle?
Given three positive number, check whether a triangle can be made with these sides length or not. remember that in a triangle su...

3년 초과 전

문제를 풀었습니다


Find the sides of an isosceles triangle when given its area and height from its base to apex
Find the sides of an isosceles triangle when given its area and the height from its base to apex. For example, with A=12 and ...

3년 초과 전

문제를 풀었습니다


Height of a right-angled triangle
Given numbers a, b and c, find the height of the right angled triangle with sides a and b and hypotenuse c, for the base c. If a...

3년 초과 전

문제를 풀었습니다


length of a vector
Find twice the length of a given vector.

3년 초과 전

문제를 풀었습니다


Sum of odd numbers in a matrix
Find the sum of all the odd numbers in a matrix. Example x = [2 3 5 7 1 4 11] y = 27

3년 초과 전

문제를 풀었습니다


Summing digits
Given n, find the sum of the digits that make up 2^n. Example: Input n = 7 Output b = 11 since 2^7 = 128, and 1 + ...

3년 초과 전

문제를 풀었습니다


Find difference of two set as per example
Find difference of two set as per example Say x=[1:5] and y=[2:6] then, set_diff(x,y) should give output[1] and set_diff(y...

3년 초과 전

문제를 풀었습니다


Remove the Zero
Given an array n, remove all zeros

3년 초과 전

문제를 풀었습니다


Product of Array
Given an array of numbers. Get the product of the array.

3년 초과 전

문제를 풀었습니다


Skip by a multiple
Given an integer create an array of its multiples. Array must have a length of 15

3년 초과 전

문제를 풀었습니다


Mean ignoring NaNs
Define a function that behaves in the same way as mean(x) and mean(x,d) except that it ignores NaNs (unless all of the values be...

3년 초과 전

문제를 풀었습니다


Alternating sum
Given vector x, calculate the alternating sum y = x(1) - x(2) + x(3) - x(4) + ...

3년 초과 전

문제를 풀었습니다


Is My Wife Wrong?
Answer the question. (see also <http://www.mathworks.com/matlabcentral/cody/problems/149-is-my-wife-right Problem 149: Is my ...

3년 초과 전

문제를 풀었습니다


Determine the square root
Determine the square root of the value the user has entered, n.

3년 초과 전

문제를 풀었습니다


Y=X
Given an input variable x, output a variable y that is equal in value to x. Example: Input x = 1 Output y is 1 Inp...

3년 초과 전

문제를 풀었습니다


Temperature conversion
Convert temperature in degrees Celsius (C) to temperature in degrees Kelvin (K). Assume your answer is rounded to the nearest Ke...

3년 초과 전

문제를 풀었습니다


Rotate a Matrix by 90 degrees
Rotate a Matrix by 90 degrees Example: If the input is: X = 1 2 3 4 5 6 7 8 9 ...

3년 초과 전

문제를 풀었습니다


Find the hypotenuse
Given a and b (the two sides of a right-triangle), find c, the hypotenuse.

3년 초과 전

문제를 풀었습니다


Transpose
Write a MATLAB script in order to convert a random length row vector (v) into a column vector.

3년 초과 전

더 보기