문제를 풀었습니다


Parasitic numbers
Test whether the first input x is an n-parasitic number: <http://en.wikipedia.org/wiki/Parasitic_number>. ( _n_ is the second in...

10년 초과 전

문제를 풀었습니다


Evil Number
Check if a given natural number is evil or not. Read more at <https://oeis.org/A001969 OEIS>.

10년 초과 전

문제를 풀었습니다


Evened up (or not)
You will be provided with an array or matrix that contains various numbers, in addition to an evening variable, e, set to 1 or 0...

10년 초과 전

문제를 풀었습니다


Matrix Construction I
Given n, construct a matrix as shown in the example below. Example For n=8, the output should look like this: 1 2 3 4 ...

10년 초과 전

문제를 풀었습니다


Increase monotonically
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...

10년 초과 전

문제를 풀었습니다


Variable_Addition
be able to add any variable to the number one

10년 초과 전

문제를 풀었습니다


Calculate square and cube of number
Calculate square and cube of number x

10년 초과 전

문제를 풀었습니다


Determine if a row vector has NaN
Determine if a row vector x has NaN

10년 초과 전

문제를 풀었습니다


factorial of a number x
Factorial of a number x

10년 초과 전

문제를 풀었습니다


Create a square matrix of zeros of even order
Create a square matrix of zeros of even order

10년 초과 전

문제를 풀었습니다


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. So if input x is x = [1 2 3 5] then the output y should be 11.

10년 초과 전

문제를 풀었습니다


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. So if input x is x = [1 2 3 5] then the output y should be 11.

10년 초과 전

문제를 풀었습니다


Write a function man that takes a row vector v and returns a matrix H as follows..
Write a function called man that takes a row vector v as an input and returns a matrix H whose first column consist of the eleme...

10년 초과 전

문제를 풀었습니다


Min by mean
Substitute the minimum value in each row of a matrix A by the mean of that row (it should also work if the input is a vector)

10년 초과 전

문제를 풀었습니다


Create a Matrix of Zeros
Given an input x, create a square matrix y of zeros with x rows and x columns.

10년 초과 전

문제를 풀었습니다


Create a Standard Size Vector
Given an input x, create a row vector y from 1 to x with 5 elements.

10년 초과 전

문제를 풀었습니다


Square a Number
Given an input x, return y, which is equal to the square of x.

10년 초과 전

문제를 풀었습니다


Normalize by maximum
Subtract the maximum value in a column from the corresponding columns of a matrix.

10년 초과 전

문제를 풀었습니다


Sum of series of numbers
Find the sum of numbers from 1-50 using for loop.

10년 초과 전

문제를 풀었습니다


Is the light on?
If true , yes; If false , no create a logical vector;

10년 초과 전

문제를 풀었습니다


Reverse a string
Reverse the given string. Example input = 'reverse' output = 'esrever'

10년 초과 전

문제를 풀었습니다


Sum of a vetor
y = vectorsum(x)

10년 초과 전

문제를 풀었습니다


Determine if input is divisible by three.
Given a positive integer, n, determine if n is divisible by 3. If yes, the function should output true. If no, false.

10년 초과 전

답변 있음
Rotating a 3D image?
You can have a look at the view function. view(az,el) view([x,y,z])

11년 초과 전 | 0

문제를 풀었습니다


Make a Palindrome Number
Some numbers like 323 are palindromes. Other numbers like 124 are not. But look what happens when we add that number to a revers...

11년 초과 전

문제를 풀었습니다


Triangle sequence
A sequence of triangles is constructed in the following way: 1) the first triangle is Pythagoras' 3-4-5 triangle 2) the s...

11년 초과 전

문제를 풀었습니다


Find a Pythagorean triple
Given four different positive numbers, a, b, c and d, provided in increasing order: a < b < c < d, find if any three of them com...

11년 초과 전

문제를 풀었습니다


Is my wife right? Now with even more wrong husband
Again, as in "Is my wife right?" ( <http://www.mathworks.com/matlabcentral/cody/problems/149-is-my-wife-right> ), answer 'yes' r...

거의 12년 전

문제를 풀었습니다


Side of an equilateral triangle
If an equilateral triangle has area A, then what is the length of each of its sides, x? <<http://upload.wikimedia.org/wikipe...

거의 12년 전

문제를 풀었습니다


Area of an equilateral triangle
Calculate the area of an equilateral triangle of side x. <<http://upload.wikimedia.org/wikipedia/commons/e/e0/Equilateral-tr...

거의 12년 전

더 보기