문제를 풀었습니다


Volume of a box
Given a box with a length a, width b, and height c. Solve the volume of the box.

대략 4년 전

문제를 풀었습니다


Max of a Vector
Write a function to return the max of a vector

대략 4년 전

문제를 풀었습니다


Sum of diagonals elements of a matrix
Given a matrix, return the sum of all the elements across the diagonals. E.g. A = [1 2 3; 4 5 6; 7 8 9;...

대략 4년 전

문제를 풀었습니다


Draw 'Y'
Draw 'Y' in an x-by-x matrix (where x is odd and x >= 3) Examples: x = 3 y = [1 0 1 0 1 0 0 1 0] x = 5 y = [1...

대략 4년 전

문제를 풀었습니다


Sort in descending order.

대략 4년 전

문제를 풀었습니다


An Ohm's Law Calculator
*BACKGROUND / MOTIVATION:* Many important observations in math and science can be described by short, but powerful, equations...

대략 4년 전

문제를 풀었습니다


Given a vector x, return vector y with all negative elements from the vector x.
Given a vector x, return vector y with all negative elements from the vector x if x has negative elements. Otherwise return 0. ...

대략 4년 전

문제를 풀었습니다


surrounded matrix
With a given matrix A (size m x n) create a matrix B (size m+2 x n+2) so that the matrix A is surrounded by ones: A = [1 2 ...

대략 4년 전

문제를 풀었습니다


Back to basics 23 - Triangular matrix
Covering some basic topics I haven't seen elsewhere on Cody. Given an input matrix, return a matrix with all elements above a...

대략 4년 전

문제를 풀었습니다


Remove NaN ?
input -> matrix (n*m) with at least one element equal to NaN; output -> matrix(p*m), the same matrix where we deleted the enti...

대략 4년 전

문제를 풀었습니다


Flip the main diagonal of a matrix
Given a n x n matrix, M, flip its main diagonal. Example: >> M=magic(5); >> flipDiagonal(M) 9 24 1 ...

대략 4년 전

문제를 풀었습니다


Find max
Find the maximum value of a given vector or matrix.

대략 4년 전

문제를 풀었습니다


Laws of motion 6

대략 4년 전

문제를 풀었습니다


Laws of motion 5

대략 4년 전

문제를 풀었습니다


Laws of motion 3

대략 4년 전

문제를 풀었습니다


Laws of motion 4
Given the initial velocity 'u', final velocity 'v' and acceleration 'a', find the distance travelled.

대략 4년 전

문제를 풀었습니다


Laws of motion 2

대략 4년 전

문제를 풀었습니다


Laws of motion 1

대략 4년 전

문제를 풀었습니다


Kinetic energy calculation

대략 4년 전

문제를 풀었습니다


Potential energy calculation

대략 4년 전

문제를 풀었습니다


Total energy

대략 4년 전

문제를 풀었습니다


Energy Conversion 2

대략 4년 전

문제를 풀었습니다


Energy Conversion 1

대략 4년 전

문제를 풀었습니다


Velocity Conversion

대략 4년 전

문제를 풀었습니다


Area Conversion 2

대략 4년 전

문제를 풀었습니다


Area Conversion 1

대략 4년 전

문제를 풀었습니다


Mass Conversion 2

대략 4년 전

문제를 풀었습니다


Mass Conversion 1

대략 4년 전

문제를 풀었습니다


Temperature Conversion 2

대략 4년 전

문제를 풀었습니다


Temperature Conversion 3

대략 4년 전

더 보기