문제를 풀었습니다


Set x value to each odd index of vector y.
Set x value to each odd index of vector y.

7년 초과 전

문제를 풀었습니다


Find the maxmum value of N*N Matrix
Input x=[1 2 3; 4 5 6; 7 8 9] output: y=9

7년 초과 전

문제를 풀었습니다


Sum of unique multiples of 3 and 5
If we list all the natural numbers up to 15 that are multiples of 3 or 5, we get 3, 5, 6, 9, 10, 12 and 15. The sum of these mul...

7년 초과 전

문제를 풀었습니다


Shuffle
Shuffle a vector by breaking it up to segments of |n| elements, and rearranging them in a reversed order. For example, the ve...

7년 초과 전

문제를 풀었습니다


Problem 44444 !!! free beer everyone
just say hallelujah to solve this problem

7년 초과 전

문제를 풀었습니다


Vector push
Append an element |x| to the end of the vector |v| and return both the extended vector and the new number of its elements. |x| c...

7년 초과 전

문제를 풀었습니다


Solve expression I
Solve expression (1+sin(x))/cos(x)+cos(x)/(1+sin(x)) for given vector x.

7년 초과 전

문제를 풀었습니다


The maximum sum of squares (testing)
Create a function file with an input maxval to determine the maximum number of terms for the series 1^2 + 2^2 + 3^2 + ... such t...

7년 초과 전

문제를 풀었습니다


true or false
if the matrix has a zero, return true. else, return false

7년 초과 전

문제를 풀었습니다


Area of a Square
Given the length x of the side of a regular square, find the area of the square, A.

7년 초과 전

문제를 풀었습니다


Calculate roots of polynomial given as vector array.
Calculate roots of polynomial given as vector array. Example x=[1 2 0 5 0 3] result=[-2.7267 ; ...

7년 초과 전

문제를 풀었습니다


Opposite task convert string hexadecimal numbers array into array of decimal numbers .
Opposite task convert string hexadecimal numbers array into array of decimal numbers . Example x=[ '208'; '209'; '20A'; ...

7년 초과 전

문제를 풀었습니다


Numerate input arguments
For every string input, output the corresponding number. For example: [a, b] = Test('first', 'second') a=1; b=2;

7년 초과 전

문제를 풀었습니다


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

7년 초과 전

문제를 풀었습니다


Comparison of floating-point numbers (doubles)
<https://au.mathworks.com/help/matlab/matlab_prog/floating-point-numbers.html Floating-point numbers> cannot generally be repres...

7년 초과 전

문제를 풀었습니다


World Cup 2018 Prediction!
Which team will be the winner?

거의 8년 전

문제를 풀었습니다


Capitalized string operations
Convert the input sentence to upper case and replace all vowels with an underscore ('_')

거의 8년 전

문제를 풀었습니다


generate capital english alphabets
Based on the numeric input 'n', generate the capital english alphabet starting from A till the english alphabet at the 'n'th pos...

거의 8년 전

문제를 풀었습니다


Product of all elements in an array
Compute the product of all elements in an array.

거의 8년 전

문제를 풀었습니다


Check for keywords
If the entered string is a MATLAB keyword, return true else false

거의 8년 전

문제를 풀었습니다


Find parts of a circle.
Given radius (r) of a circle find the diameter (d), circumference (c), an area (a).

거의 8년 전

문제를 풀었습니다


Return median of a matrix
Compute median of a matrix of any dimension. Exclude the NaNs if any.

거의 8년 전

문제를 풀었습니다


Sum of diagonals
Compute the sum of diagonal elements of a square matrix and store the larger sum to s. Eg : a = [1 2 3; 2 3 4; 4 5 10] ...

거의 8년 전

문제를 풀었습니다


Basic matrix operations using standard MATLAB commands
Create the matrix: 1.0e+15 * 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000...

거의 8년 전

문제를 풀었습니다


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

거의 8년 전

문제를 풀었습니다


'Absolute value'
Create a function called own_abs, which is the absolute number entered as the input return value.

거의 8년 전

문제를 풀었습니다


Calculate mean value of any pair in a vector.
Given a vector A, calculate the mean of 2 number in the vector one by one. example: input: A=[1, 5, 6, 8, 9, 15] output:...

거의 8년 전

문제를 풀었습니다


Outlier number!
Find a number which has maximum distance from the mean value of vector A. Example: A=[5 2 1 5 6 2 5 9] y=9

거의 8년 전

문제를 풀었습니다


Prime numbers between a , b.
Find all prime number between a & b (including a and b). example: a=100 b=120 y= [101 103 107 109 113]

거의 8년 전

문제를 풀었습니다


Draw a 'Z'.
Given _n_ as input, generate a n-by-n matrix like 'Z' by _0_ and _1_ . Example: n=5 ans= [1 1 1 1 1 0 0 0 1 ...

거의 8년 전

더 보기