문제를 풀었습니다


square number
Square a number

거의 5년 전

문제를 풀었습니다


Cos Function
x is the abscissa. find the absolute value of cosine of -x and the same value with changed sign.

거의 5년 전

문제를 풀었습니다


only input
Return the output without writing any code into the function.

거의 5년 전

문제를 풀었습니다


Create a square matrix of multiples
Given an input, N, output a matrix N x N with each row containing multiples of the first element of each row. This also applies...

거의 5년 전

문제를 풀었습니다


Area of a circle
Find the value for area of the circle if diameter is given

거의 5년 전

문제를 풀었습니다


Get all prime factors
List the prime factors for the input number, in decreasing order. List each factor. If the prime factor occurs twice, list it as...

거의 5년 전

문제를 풀었습니다


Multiples of a Number in a Given Range
Given an integer factor _f_ and a range defined by _xlow_ and _xhigh_ inclusive, return a vector of the multiples of _f_ that fa...

거의 5년 전

문제를 풀었습니다


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

거의 5년 전

문제를 풀었습니다


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

거의 5년 전

문제를 풀었습니다


Return the largest number that is adjacent to a zero
This example comes from Steve Eddins' blog: <http://blogs.mathworks.com/steve/2009/05/27/learning-lessons-from-a-one-liner/ Lear...

거의 5년 전

문제를 풀었습니다


Compare two input matrices
Check which input matrix has more elements. Return "1" if matrix A has more elements than matrix B. Otherwise return "0". Exa...

거의 5년 전

문제를 풀었습니다


Find out sum of all elements of given Matrix
Find out sum of all elements of given Matrix A=[1 2 3;4 5 6 ;7 8 9]; Answer must be: 45 *If you like this problem, pl...

거의 5년 전

문제를 풀었습니다


Output any real number that is neither positive nor negative
Output any real number that is neither positive nor negative

거의 5년 전

문제를 풀었습니다


Sums with Excluded Digits
Add all the integers from 1 to n in which the digit m does not appear. m will always be a single digit integer from 0 to 9. no...

거의 5년 전

문제를 풀었습니다


Summation of array
Given an array, Find the sum of all of the elements in it Examples: Input x = [1 2 3 5; 4 5 6 7]; Output y is 33

거의 5년 전

문제를 풀었습니다


Solving Quadratic Equations (Version 2)
Before attempting this problem, solve version 1: <https://www.mathworks.com/matlabcentral/cody/problems/2510-solving-quadratic-...

거의 5년 전

문제를 풀었습니다


Solving Quadratic Equations (Version 1)
Quadratic equations have the form: ax^2 + bx + c = 0. Example: x^2 + 3x + 2 = 0, where a = 1, b = 3, and c = 2. The equation has...

거의 5년 전

문제를 풀었습니다


If-then-else
Complete the function below such that if the value of x is in the range 10 to 14, inclusive, the value 18 is assigned to y. Oth...

거의 5년 전

문제를 풀었습니다


Generate a NaN...on purpose
The goal is to create a function that will return a single "NaN" without using the nan function. I am interested to see how many...

거의 5년 전

문제를 풀었습니다


Reverse a matrix
Its simple. You have to reverse a given matrix.

거의 5년 전

문제를 풀었습니다


prime test
find largest 2 digit prime number

거의 5년 전

문제를 풀었습니다


Hydrostatic Pressure
Given depth(height), in m, find the pressure under a body of water. Need to know the density of water(kg/m^3), and gravity(m/s^2...

거의 5년 전

문제를 풀었습니다


Kinetic Energy
Given mass, m, and kinetic energy, KE, find the velocity of the object.

거의 5년 전

문제를 풀었습니다


Joules to Megatons of TnT
Given joules, J, make a function that converts to megatons of TNT.

거의 5년 전

문제를 풀었습니다


MPS to MPH
Given the speed in miles per second, find the speed in miles per hour.

거의 5년 전

문제를 풀었습니다


Radians to Degrees
Convert radians to degrees.

거의 5년 전

문제를 풀었습니다


Energy-Mass Equivalence
Given input enegy of the object, E, and constant c = 300,000,000, find the mass of the object.

거의 5년 전

문제를 풀었습니다


Rankine to Celsius Converter
Given input R, degrees Rankine, convert into degrees Celsius.

거의 5년 전

문제를 풀었습니다


Degrees to Radian
Convert degrees to radians

거의 5년 전

문제를 풀었습니다


pressure to dB?
given x ratio of pressure, find corresponding y dB

거의 5년 전

더 보기