문제를 풀었습니다


Draw a '0' in a one matrix!

대략 5년 전

문제를 풀었습니다


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

대략 5년 전

문제를 풀었습니다


Converts numbers into characters
Converts numbers into characters

대략 5년 전

문제를 풀었습니다


Replace the last 3 x 3 submatrix of A

5년 초과 전

문제를 풀었습니다


Draw a '8' in a zero matrix!

5년 초과 전

문제를 풀었습니다


Draw a '5' in a zero matrix!

5년 초과 전

문제를 풀었습니다


Draw a '3' in a zero matrix!

5년 초과 전

문제를 풀었습니다


Draw a '2' in a zero matrix!

5년 초과 전

문제를 풀었습니다


Draw a '1' in a zero matrix!

5년 초과 전

문제를 풀었습니다


Approximate the cosine function
Without using MATLAB trigonometric functions, calculate the cosine of an argument |x| to a precision of |0.0001| *Hint:* You ...

5년 초과 전

문제를 풀었습니다


Procrustean bed
Given a vector x and an integer n, convert x to a vector of length n by (1) chopping off the end if it is too long, or (2) addin...

5년 초과 전

문제를 풀었습니다


Try and Catch Simple Example
Try and Catch Simple Example <http://in.mathworks.com/help/matlab/ref/try.html Example> Vector x=[1 4 6 8 10]; Create...

5년 초과 전

문제를 풀었습니다


Repetition of matrices
*A is a bold matrix: [1 2 3; 4 5 6;7 8 9]* Given an integer 'n' , a matrix B exists such that has n copies of A in the row an...

5년 초과 전

문제를 풀었습니다


Find NaNs in the matrix
Return 1s wherever there is a NaN in the input matrix

5년 초과 전

문제를 풀었습니다


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

5년 초과 전

문제를 풀었습니다


Please check if calorie intake is less than 300 kcal.
I like eating some puddings and some chocolate cookies around 3 o'clock. However, I care about calorie intake. Please check whe...

5년 초과 전

문제를 풀었습니다


'Determine if array of numbers is odd'
Return true if the input single number is odd. If the input is a vector, it will return a vector or array of logical values indi...

5년 초과 전

문제를 풀었습니다


Refresh your system of equations
Given square matrix, and solution vector, find the values of the variables Example: xyz = [1 -1 2; 0 2 5; 4 0 -3]; //x-y+2...

5년 초과 전

문제를 풀었습니다


Roots of a quadratic equation.
Calculate the roots of a quadratic equation, given coefficients a, b, and c, for the equation a*x^2 + b*x + c = 0.

5년 초과 전

문제를 풀었습니다


Select every other element of a matrix
Write a function called outMat = odd_idx( myMat ) that takes a matrix, myMat, as input argument and returns a matrix th...

5년 초과 전

문제를 풀었습니다


Odd row
Create a row 'y' with odd numbers where the potential maximum number is given by 'x' and the space between them by 'm'. The firs...

5년 초과 전

문제를 풀었습니다


Reverse the Matrix
Given a Matrix A, reverse it. Such that, last element of A becomes 1st and vice versa. for example: Input = [1 2 3;4 5 ...

5년 초과 전

문제를 풀었습니다


Determinants
Given a square matrix(A), find the determinant(d). For example: A = [1,3;4,5] d = 1*5-4*3 = -7

5년 초과 전

문제를 풀었습니다


Splitting Triangle - Problem the second

5년 초과 전

문제를 풀었습니다


Splitting Triangle - Problem the first

5년 초과 전

문제를 풀었습니다


Splitting Square - Problem the third

5년 초과 전

문제를 풀었습니다


Splitting Square - Problem the second

5년 초과 전

문제를 풀었습니다


Splitting Square - Problem the first

5년 초과 전

문제를 풀었습니다


Find same numbers touching each other...
So the goal here is to find any number that is equal to its immediate neighbors and mark it true. Here is some examples: x...

5년 초과 전

문제를 풀었습니다


Get the array of sum for three consecutive numbers in an array
Get the array of sum, for three consecutive numbers in an array. if Input 'x' does not have at-least 3 elements then 'y' shou...

5년 초과 전

더 보기