문제를 풀었습니다


Rotate a matrix for 180 degree
Rotate a matrix for 180 degree for eg: x=[1 2 3 4] y=[4 3 2 1]

거의 4년 전

문제를 풀었습니다


Find the nearest integer
Given a vector of integers and a real number find the closest integer. EX: >> a = [2 4 5 6 8 10]; >> b = 4.6; >> nea...

거의 4년 전

문제를 풀었습니다


give nth decimal place of pi
max 15th place after the decimal point is ok for now

거의 4년 전

문제를 풀었습니다


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

거의 4년 전

문제를 풀었습니다


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

거의 4년 전

문제를 풀었습니다


Polygon Interior Angle Sum
Given the number of sides of a regular polygon, find the sum of interior angles. Return 0 for input for which regular polygon a...

거의 4년 전

문제를 풀었습니다


Replace multiples of 5 with NaN
It is required to replace all values in a vector that are multiples of 5 with NaN. Example: input: x = [1 2 5 12 10 7] ...

거의 4년 전

문제를 풀었습니다


Create a Multiplication table matrix...
Create a product table in this format: P = [ 1 2 3 4 5; 2 4 6 8 10; 3 6 9 12 15; 4 8 12 1...

거의 4년 전

문제를 풀었습니다


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.

거의 4년 전

문제를 풀었습니다


Convert Kilometers to Miles
Convert kilometers to miles. Consider 1 km = 0.62 mile. Note: Don't use the '*' operator.

거의 4년 전

문제를 풀었습니다


Areas
Given certain dimensions determine the area of that shape. If given only one value assume its the radius. Use round(x) to round ...

거의 4년 전

문제를 풀었습니다


Perimeters/Circumference
Given an array. Determine whether the perimeter is of a circle, triangle or square. Then calculate the perimeter.

거의 4년 전

문제를 풀었습니다


Product of Array
Given an array of numbers. Get the product of the array.

거의 4년 전

문제를 풀었습니다


Mile to Kilometer
x is mile and y is km

거의 4년 전

문제를 풀었습니다


Kelvin to Fahrenheit
You can find a doc about it in here => https://www.rapidtables.com/convert/temperature/how-kelvin-to-fahrenheit.html x is kelvi...

거의 4년 전

문제를 풀었습니다


Bit to Gigabyte
1 bit = 1.25 × 10^-10 gigabytes | x is bit | y is gigabyte

거의 4년 전

문제를 풀었습니다


Watt
Ampere x Volt = Watt

거의 4년 전

문제를 풀었습니다


Percentage
There is x liter water and y gram => z is percentage of salt in water

거의 4년 전

문제를 풀었습니다


Spherical Volume
Calculate the volume of a sphere.

거의 4년 전

문제를 풀었습니다


Volume of Cylinder
Find the volume of a cylinder

거의 4년 전

문제를 풀었습니다


Square root of number
Square root of given number.

거의 4년 전

문제를 풀었습니다


Square
square root of x

거의 4년 전

문제를 풀었습니다


Remove the two elements next to NaN value
The aim is to *remove the two elements next to NaN values* inside a vector. For example: x = [6 10 5 8 9 NaN 23 9 7 3 21 ...

거의 4년 전

문제를 풀었습니다


Determine the square root
Determine the square root of the value the user has entered, n.

거의 4년 전

문제를 풀었습니다


Rotate matrix by -90 degrees
Rotate a Matrix by -90 degrees Example: X = 1 2 3 4 5 6 7 8 9 output = 7 4 ...

거의 4년 전

문제를 풀었습니다


Convert degrees to radians
Given input in degrees, output to radians

거의 4년 전

문제를 풀었습니다


find the surface area of a cube
given cube side length x, find the surface area of the cube, set it equal to y

거의 4년 전

문제를 풀었습니다


Back to basics 12 - Input Arguments
Covering some basic topics I haven't seen elsewhere on Cody. Return a value equal to the number of input arguments to the fun...

거의 4년 전

문제를 풀었습니다


Rotate a Matrix
Input a Matrix x, Output y is the matrix rotating x 90 degrees clockwise

거의 4년 전

문제를 풀었습니다


Getting logical indexes
This is a basic MATLAB operation. It is for instructional purposes. --- Logical indexing works like this. thresh = 4...

거의 4년 전

더 보기