문제를 풀었습니다


calculate PI without using pi function
There are many methods to get the pi(Ratio of circumference to diameter). You should get pi without using the pi function in M...

5년 초과 전

문제를 풀었습니다


Negative without '-'
Simple: return a negative number without using the '-' sign. Thanks to Problem <https://www.mathworks.com/matlabcentral/cody/...

5년 초과 전

문제를 풀었습니다


Subtract integers and add doubles
Create a function that subtracts a from b if a and b are integers and adds them if they are floats.

5년 초과 전

문제를 풀었습니다


Count the number of folds needed to pack a large sheet
In a certain paper factory, large sheets of paper are being made every day. Before sending the sheets for shipment, they have to...

5년 초과 전

문제를 풀었습니다


Calculate the sphericity of a Raschig ring
Sphericity is a measure of the roundness of any particle. It was defined by Wadell in 1935 as the ratio of the 'surface area of ...

5년 초과 전

문제를 풀었습니다


Convert a temperature reading from Celsius to an unknown scale
Two of the most famous temperature scales are the Celsius and the Fahrenheit scale. In reality, however, there are so many other...

5년 초과 전

문제를 풀었습니다


Find the equivalent resistance of a dc circuit

5년 초과 전

문제를 풀었습니다


Transform a Decimal number into a Septimal number

5년 초과 전

문제를 풀었습니다


print 'Hello W0rld'

5년 초과 전

문제를 풀었습니다


Sum of big primes without primes
Inspired by Project Euler n°10 (I am quite obviously a fan). With problem n°250 by Doug, you can find some global methods to ...

5년 초과 전

문제를 풀었습니다


Infinite precision division
Develop a function that will divide a very very large integer numerator, supplied to function as a string (e.g., '12233344445555...

5년 초과 전

문제를 풀었습니다


Yoonir - 01
Find the area of a five-pointed star inscribed in a circle of radius r.

거의 6년 전

문제를 풀었습니다


Verify Law of Large Numbers
If a large number of fair N-sided dice are rolled, the average of the simulated rolls is likely to be close to the mean of 1,2,....

거의 6년 전

문제를 풀었습니다


A "Complex" Converter: Rectangular Form <-> Polar Form
*BACKGROUND / MOTIVATION:* Complex numbers can be an important tool in an electrical engineer's toolbox because they can help...

거의 6년 전

문제를 풀었습니다


Rescale Scores
Each column (except last) of matrix |X| contains students' scores in a course assignment or a test. The last column has a weight...

거의 6년 전

문제를 풀었습니다


Calculate Inner Product
Given two input matrices, |x| and |y|, check if their inner dimensions match. * If they match, create an output variable |z|...

거의 6년 전

문제를 풀었습니다


Plot Damped Sinusoid
Given two vectors |t| and |y|, make a plot containing a blue ( |b| ) dashed ( |--| ) line of |y| versus |t|. Mark the minimum...

거의 6년 전

문제를 풀었습니다


Crop an Image
A grayscale image is represented as a matrix in MATLAB. Each matrix element represents a pixel in the image. An element value re...

거의 6년 전

문제를 풀었습니다


Cube root of max value in a vector
Find the cube root of the maximum value in a vector

대략 6년 전

문제를 풀었습니다


Sum Sum Sum!
Calculate the sum of the natural numbers from 1 to n

대략 6년 전

문제를 풀었습니다


easy problem
Find the last element of the array

대략 6년 전

문제를 풀었습니다


Converts numbers into characters
Converts numbers into characters

대략 6년 전

문제를 풀었습니다


Matrix Ax=B problem
Take a incoming A and B vector, and solve for x

대략 6년 전

문제를 풀었습니다


Calculate the number of elements in a matrix.
Calculate the number of elements in a matrix.

대략 6년 전

문제를 풀었습니다


the average value of the elements
Calculate the average value of the elements in the array

대략 6년 전

문제를 풀었습니다


Calculate the square root of a number
Input a Output b = srt(a)

대략 6년 전

문제를 풀었습니다


Find the max element of the array
Find the max element of the array

대략 6년 전

문제를 풀었습니다


Matrix multiplication across rows
Given matrix m, return matrix n such that, rows of n are result of multiplication of the rows of the input matrix Example ...

대략 6년 전

문제를 풀었습니다


calculate the length of matrix
input 1 array, calculate the length

대략 6년 전

문제를 풀었습니다


Sum sum!!!
Sum the numbers from 1 to n

대략 6년 전

더 보기