문제를 풀었습니다


Product of elements in row
Product of matrix such that a=[3 3 1] b=9

거의 4년 전

문제를 풀었습니다


Help the Patriots get to the Super Bowl
Given a football by the Patriots, return it to them with 2 psi less air in it. (The original psi is passed as a number to the...

거의 4년 전

문제를 풀었습니다


Alkane
Given a number, x, that is equal to the number of carbon atoms in an <http://en.wikipedia.org/wiki/Alkane alkane>, find, y, the ...

거의 4년 전

문제를 풀었습니다


Element by element multiplication of two vectors
Given two input vectors, return the element-by-element product. Example A = [1 2 3] B = [7 3 1] The answer should be...

거의 4년 전

문제를 풀었습니다


Square the input
Given a scalar or vector x, return the square of each element. Example x = [7 2] answer = [49 4]

거의 4년 전

문제를 풀었습니다


Find out value of sine given by degree.
Find out value of sine given by degree. If theta=30, it's value must be 0.5.

거의 4년 전

문제를 풀었습니다


Replace every 3rd element in a vector with 4
x is a vector of undetermined length You are to replace every 3rd element with the number 4, example: x = [11 23 34 43 2 3...

거의 4년 전

문제를 풀었습니다


Append two matrix as shown below example
Append two matrix as shown below example A=[1 2; 3 4] and B=[5 6;7 8] Answer must be 1 2 5 6 3...

거의 4년 전

문제를 풀었습니다


Find maximum value of a curve
Two vectors shall be already defined: - Input vector x (e.g. x = 0:1:10) - Result vector y (e.g. y = sin(x)) Create a n...

거의 4년 전

문제를 풀었습니다


Find out total non zero element of matrix
Find out Non zero element of matrix A=magic(5) 17 24 1 8 15 23 5 7 14 16 4 6...

거의 4년 전

문제를 풀었습니다


square root
Find the square root (y) of an input (x).

거의 4년 전

문제를 풀었습니다


Sophie Germain prime
In number theory, a prime number p is a *Sophie Germain prime* if 2p + 1 is also prime. For example, 23 is a Sophie Germain prim...

거의 4년 전

문제를 풀었습니다


Matrix FUN
Given a Matrix M, find out the number of elements of matrix that are divisible by 3. M = [1 2 3;4 5 6;7 8 9]; ou...

거의 4년 전

문제를 풀었습니다


How long does it take to run a bath?
Given the *volume flow rate* (volume/time) of a faucet and the *volume* of a bath tub, find the amount of time it takes to fill ...

거의 4년 전

문제를 풀었습니다


square a vector-Given the variable x as your input, square it and put the result in y.
function y = (x)squared y = x; end

거의 4년 전

문제를 풀었습니다


Calculate volume of box
Calculate the volume of box,hiven its sides

거의 4년 전

문제를 풀었습니다


Square root of a number
Write a code that will output the square root of x.

거의 4년 전

문제를 풀었습니다


Sum of series II
What is the sum of the following sequence: Σ(2k-1)^2 for k=1...n for different n?

거의 4년 전

문제를 풀었습니다


find whether it is prime or not
For a given number find if its prime

거의 4년 전

문제를 풀었습니다


Replace odd number in given matrix by zero
Replace the odd numbers in a given matrix with zero. Example A = [ 17 24 1 8 15 23 5 7 ...

거의 4년 전

문제를 풀었습니다


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

거의 4년 전

문제를 풀었습니다


Create Vector containing following elements
Create Vector containing following elements A=[pi eps NaN inf -inf flintmax];

거의 4년 전

문제를 풀었습니다


imaginary results
Return the value of the imaginary number i to the power of input argument n.

거의 4년 전

문제를 풀었습니다


Replace Nonzero Numbers with 1
Given the matrix x, return the matrix y with non zero elements replaced with 1. Example: Input x = [ 1 2 0 0 0 ...

거의 4년 전

문제를 풀었습니다


What's the missing interior angle?
I'm talking about polygons... The sum of the interior angles of a triangle is 180 degrees. The sum of the interior angles of a...

거의 4년 전

문제를 풀었습니다


Give prime Numbers upto n
You are given a input number x; print all the prime numbers less than equal to x.

거의 4년 전

문제를 풀었습니다


Interior angles
Find the sum of interior angles for polygon of x sides.

거의 4년 전

문제를 풀었습니다


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

거의 4년 전

문제를 풀었습니다


Find the sum of n squares
What is the sum of the squares of the first n integers?

거의 4년 전

문제를 풀었습니다


Is it column vector?
Is it column vector? Check vector for column vector without using iscolumn function.

거의 4년 전

더 보기