문제를 풀었습니다


MATLAB Basic: rounding
Do rounding near to zero Example: -8.8, answer -8 +8.1 answer 8

9년 초과 전

문제를 풀었습니다


What day is it?
Tell me what day is it. Return the full name of the day of the week as a string. e.g. It's June 12th 2014, so your function s...

9년 초과 전

문제를 풀었습니다


Find the area of a rectangle if length of the diagonal is given.
if length of a diagnonal in rectangle is 5. Its area is 12.

9년 초과 전

문제를 풀었습니다


Delete 2nd and 5th column of Given 6*6 matrix
Delete the 2nd and 5th columns of the given 6*6 matrix. Example Suppose A = magic(6) 35 1 6 26 19 ...

9년 초과 전

문제를 풀었습니다


Perl 2: pop
_This is part of a series of perl function which were very helpful for many perl programmers. Could you implement it in Matlab?_...

9년 초과 전

문제를 풀었습니다


Computing Wind chill
On a windy day, a temperature of 15 degrees may feel colder, perhaps 7 degrees. The formula below calculates the "wind chill," i...

9년 초과 전

문제를 풀었습니다


Back to Basics - Find no. of elements in a matrix?
Let A be a m*n matrix. Find the total no. of elements in A ? (Hint - formula based) A = [1 2 3;4 5 6]; output = 6

9년 초과 전

문제를 풀었습니다


Power of n ?
Determine if _x_ (positive integer) is a power of _n_, return true or false accordingly.

9년 초과 전

문제를 풀었습니다


interesting center of magic matrix
output the centre of magic matrix of n input=7; output=25

9년 초과 전

문제를 풀었습니다


Cody Computer Part 5 - Guess the Name of Cody Computer
Network computers have generally a nickname to be identified. Can you guess the nickname of the Cody Computer? No inpu...

9년 초과 전

문제를 풀었습니다


Find out sum of prime number till given number
Find out sum of prime number till given number Example, if number is 10, then answer must be 17.

9년 초과 전

문제를 풀었습니다


Find 100 from a Matrix and Replace With 0 with less computation time
pls use this matrix x = [208 40 167 180 112 70 192 215 90 19 231 100 9 100 97 100 ...

9년 초과 전

문제를 풀었습니다


Test Problem; Create a 5x5 array containing all ones
This is a test for learning the process of creating a Cody problem. The goal of this test problem will be to create an array,...

9년 초과 전

문제를 풀었습니다


Change the first and last diagonal element of the identity matrix to zero
Starting with the identity matrix, change first and last diagonal element to zero. Example If n=5 A = 0 0 ...

9년 초과 전

문제를 풀었습니다


Strange Number Algorithms
Three integer numbers will be provided to you. Write a function to Step1: Multiply first number by 3. Step2: Add 6 with t...

9년 초과 전

문제를 풀었습니다


Sum Even Numbers
Given a number x, make the summation of all the even until x. For instance, x = 7, so y = 2+4+6 = 12 * x = [3] * y = 2 * ...

9년 초과 전

문제를 풀었습니다


Solve Linear equations
Solve Linear equations Example: x+y=2 and x+2y=3, then x and y equal to 1.

9년 초과 전

문제를 풀었습니다


Sum of the Multiplication of Vectors
Given the vectors x and y as input, multiply the vectors and return the summation of its elements. Example: x = [1 2 ...

9년 초과 전

문제를 풀었습니다


Power The Product
EXAMPLE: INPUT x=10 & y=10 OUTPUT z=1000000 or, INPUT x=2 & y=3 OUTPUT z= 216 you just need to calculate the product first...

9년 초과 전

문제를 풀었습니다


Volume difference between Ellipsoid and Sphere
Given an ellipsoid of semi principal axis (a,b,c) find the volume of the difference between this ellipsoid and the sphere with...

9년 초과 전

문제를 풀었습니다


Remove element(s) from cell array
You can easily remove an element (or a column in any dimension) from a normal matrix, but assigning that value (or range) empty....

9년 초과 전

문제를 풀었습니다


Justify the character string in center with proportional fonts
how to justify a string of character into center with proportional fonts? Example: x='justify string ' output is ' justif...

9년 초과 전

문제를 풀었습니다


Snakes on a plane
Given the dimensions of a 2-d plane, create a matrix where a "snake" of ones occupies the plane from top left to bottom right. ...

9년 초과 전

문제를 풀었습니다


UICBioE240 2.3
Make a 4D matrix of 4x4x3x4 containing all zeros.

9년 초과 전

문제를 풀었습니다


UICBioE240 problem 1.13
Compute the following - y = x^5/(x^-1) and y = (1-(1/x^5))^-1. Have the final answer of y to equal a 1 by 2 vector.

9년 초과 전

문제를 풀었습니다


Matlab Basics II - Extract last 3 elements of a vector
Let x be a vector of unknown length, we are always interested in the last 3 numbers in the vector, write a function that gives t...

9년 초과 전

문제를 풀었습니다


Power supply: 230V to 115V
The problem is simple: we have a wall outlet which supplies 230V and an apparatus that requires 115V. Software is always chea...

9년 초과 전

문제를 풀었습니다


Uniform binary crossover
Given two binary vectors, return the two children by combining the genes of them using a binary crossover mask. More informat...

9년 초과 전

문제를 풀었습니다


Small Riddle
Mr. Smith has two children. If the older child is a boy, what are the odds that the other child is also a boy?

9년 초과 전

문제를 풀었습니다


Variable_Addition
be able to add any variable to the number one

9년 초과 전

더 보기