문제를 풀었습니다


Draw 'I'
Given n as input, draw a n-by-n matrix 'I' using 0 and 1. example: n=3 ans= [0 1 0 0 1 0 0 1 0] n=...

거의 4년 전

문제를 풀었습니다


Draw 'O' !
Given n as input, generate a n-by-n matrix 'O' using 0 and 1 . example: n=4 ans= [1 1 1 1 1 0 0 1 ...

거의 4년 전

문제를 풀었습니다


Draw 'C'.
Given x as input, generate a x-by-x matrix 'C' using 0 and 1. example: x=4 ans= [0 1 1 1 1 0 0 0 ...

거의 4년 전

문제를 풀었습니다


Set the array elements whose value is 13 to 0
Input A either an array or a vector (which can be empty) Output B will be the same size as A . All elements of A equal to 13...

거의 4년 전

문제를 풀었습니다


Find the largest value in the 3D matrix
Given a 3D matrix A, find the largest value. Example >> A = 1:9; >> A = reshape(A,[3 1 3]); >> islargest(A) a...

거의 4년 전

문제를 풀었습니다


Matrix Pattern 7

거의 4년 전

문제를 풀었습니다


Matrix Pattern 6

거의 4년 전

문제를 풀었습니다


Matrix Pattern 9

거의 4년 전

문제를 풀었습니다


Total energy

거의 4년 전

문제를 풀었습니다


Potential energy calculation

거의 4년 전

문제를 풀었습니다


Kinetic energy calculation

거의 4년 전

문제를 풀었습니다


Laws of motion 6

거의 4년 전

문제를 풀었습니다


Laws of motion 5

거의 4년 전

문제를 풀었습니다


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

거의 4년 전

문제를 풀었습니다


Laws of motion 3

거의 4년 전

문제를 풀었습니다


Laws of motion 2

거의 4년 전

문제를 풀었습니다


Laws of motion 1

거의 4년 전

문제를 풀었습니다


Matrix Pattern 4

거의 4년 전

문제를 풀었습니다


Matrix Pattern 3

거의 4년 전

문제를 풀었습니다


Matrix Pattern 1

거의 4년 전

문제를 풀었습니다


Draw a '0' in a one matrix!

거의 4년 전

문제를 풀었습니다


Is A the inverse of B?
Given a matrix A and a matrix B, is A the inverse of B? >>A=[2,4;3,5]; >>B=[-2.5,2;1.5,-1]; >>isInverse...

거의 4년 전

문제를 풀었습니다


Rotate Matrix @180 degree
Rotate Matrix @180 degree Example A=[8 1 6; 3 5 7; 4 9 2], then answer would be [2 9 4;...

거의 4년 전

문제를 풀었습니다


Converts numbers into characters
Converts numbers into characters

거의 4년 전

문제를 풀었습니다


Find the max element of the array
Find the max element of the array

거의 4년 전

문제를 풀었습니다


Square root
Given x (a matrix), give back another matrix, where all the elements are the square roots of x's elements.

거의 4년 전

문제를 풀었습니다


Calculate the average value of the elements in the array
Calculate the average value of the elements in the array

거의 4년 전

문제를 풀었습니다


to the 2 all elements
to the 2 all elements

거의 4년 전

문제를 풀었습니다


the average value of the elements
Calculate the average value of the elements in the array

거의 4년 전

문제를 풀었습니다


Double all elements in the array
Duplicate all elements in the array

거의 4년 전

더 보기