문제를 풀었습니다


Mechanical Advantage of a Gear Train
Calculate the mechanical advantage of a gear train. The mechanical advantage of a gear couple is given by MA = T_o/T_i where ...

거의 12년 전

문제를 풀었습니다


Is My Wife Wrong?
Answer the question. (see also <http://www.mathworks.com/matlabcentral/cody/problems/149-is-my-wife-right Problem 149: Is my ...

거의 12년 전

문제를 풀었습니다


Largest Prime Number
Given a matrix X, find the largest prime number in X.

거의 12년 전

문제를 풀었습니다


Determine the length of a string of characters
Determine the length of a string of characters

거의 12년 전

문제를 풀었습니다


Integer to boolean
Write a general function that will create the following conversation; Input is a column vector with integers Output is a b...

거의 12년 전

문제를 풀었습니다


Reshape a Vector
Write a function that accept three inputs. The first one is a row vector S. The second and third arguments are m and n which de...

거의 12년 전

문제를 풀었습니다


Array GCD
* Find Greatest Common Divisor in a given array * Function Template: function ans = arraygcd(a) % a=[45 15 200 ...

거의 12년 전

문제를 풀었습니다


Area of a Square
Inside a square is a circle with radius r. What is the area of the square?

거의 12년 전

문제를 풀었습니다


Measure a Special Distance
Given an n-by-2 matrix with positive and negative numbers, return an n-by-n matrix in the manner of the function template.

거의 12년 전

문제를 풀었습니다


Fangs of a vampire number
A <http://en.wikipedia.org/wiki/Vampire_number vampire number> is a number v that is the product of two numbers x and y such tha...

거의 12년 전

문제를 풀었습니다


Leap Year
According to Gregorian Calender(which is in use now, in many countries),decide whether a given year is a leap year or not. Give...

거의 12년 전

문제를 풀었습니다


Find the coefficient of a number in scientifc notation
Given a non-negative real number N, find the coefficient C and the exponent E of its scientific notation (N = C 10^E). Note that...

거의 12년 전

문제를 풀었습니다


Creating and Executing Function.
Lets say we got a data that has X,Y. X is 30 By 4. Y is 30 By 1. A is the set of data. I wrote a code but i coul...

거의 12년 전

문제를 풀었습니다


Max of a Vector
Write a function to return the max of a vector

거의 12년 전

문제를 풀었습니다


Palindrome numbers
Find the palindrome numbers from 1 to n where n is the number entered by the user.

거의 12년 전

문제를 풀었습니다


Reverse the input
Given an input (n), produce an output in the reverse order with out using string variables or string function. Example x ...

거의 12년 전

문제를 풀었습니다


Pandigital number n°2 (Inspired by Project Euler 32)
After <http://www.mathworks.com/matlabcentral/cody/problems/2319 Problem 2319>. An n-digit number is pandigital if it makes u...

거의 12년 전

문제를 풀었습니다


Saving MATLAB session to a file
How to save MATLAB session to a file?

거의 12년 전

문제를 풀었습니다


Are you in XY plane?
Take a point P as an input position Vector (x,y,z). If you are in XY plane, return 1 as an output otherwise return 0. Example...

거의 12년 전

문제를 풀었습니다


Integer or Float?
Test an input to see whether it is an integer or a floating point number. If it is an integer return 1 for 'true'. Otherwise ret...

거의 12년 전

문제를 풀었습니다


You are in XY plane ?
Take point having position Vector of (x,y,z). You have to decide whether this point lies in XY plane or not. If it lies then ret...

거의 12년 전

문제를 풀었습니다


Calculate Alcohol By Volume with Original and Final Gravity
Given an initial gravity of un-fermented wort (OG) and a final gravity of fermented wort (FG), better known as beer, it is possi...

거의 12년 전

문제를 풀었습니다


Kepler's Equation
Solve <http://en.wikipedia.org/wiki/Kepler's_equation Kepler's Equation>. Note that the solution is rounded down to 5 decima...

거의 12년 전

문제를 풀었습니다


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

거의 12년 전

문제를 풀었습니다


Inverse of Hilbert matrix
Given a non-negative integer x, return the element-wise power of 2 of the inverse of Hilbert matrix.

거의 12년 전

문제를 풀었습니다


Sum of digit range
Example: If A is n1, and B is n2 digit positive numbers. A*B's digit range will be [c d] (c = min & d = max). Then return ...

거의 12년 전

문제를 풀었습니다


Count from 0 to N^M in base N.
Return an array of numbers which (effectively) count from 0 to N^M-1 in base N. The result should be returned in a matrix, with ...

거의 12년 전

문제를 풀었습니다


Tribute to Ramanujan
The nth taxicab number, denoted as T(n), is defined as the smallest number that can be expressed as a sum of two positive algebr...

거의 12년 전

문제를 풀었습니다


Area of a triangle
A triangle is given with base *'b'* ,vertical hight *'h'* . then find it's area.

거의 12년 전

문제를 풀었습니다


Area of a disk
Find the area of a disk or circle. x= radius of the disk.

거의 12년 전

더 보기