문제를 풀었습니다


How many hours are there in a day in Italy?
Remember "European Summer Time"

3개월 전

문제를 풀었습니다


Calculate the answer to life the universe and everything
<https://en.wikipedia.org/wiki/42_(number)>

3개월 전

문제를 풀었습니다


Calculate the hypotenuse of a right triangle without using ^ and sqrt ()
Find out the hypotenuse of right triangle. Say a = 4, b = 3 then c = 5 Please don't use ^ and sqrt() function.

3개월 전

문제를 풀었습니다


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

3개월 전

문제를 풀었습니다


Find third Side of a right triangle given hypotenuse and a side. No * - or other functions allowed
Find the remaining side of a triangle given the hypotenuse and a side. However, the normal functions and symbols are not allowe...

3개월 전

문제를 풀었습니다


Compute LOG(1+X) in natural log
Compute LOG(1+X) in natural log

3개월 전

문제를 풀었습니다


Calculate sin(x) without sin(x)
Calculate y = sin(x) x = 0 -> y= 0 without the use of sin(x) or cos(x)

3개월 전

문제를 풀었습니다


Calculate cosine without cos(x)
Solve cos(x). The use of the function cos() and sin() is not allowed.

3개월 전

문제를 풀었습니다


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

3개월 전

문제를 풀었습니다


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

3개월 전

문제를 풀었습니다


sum all digits
input = 123456789, output = 1+2+3+4+5+6+7+8+9 = 45

3개월 전

문제를 풀었습니다


Matrix Max Finder
Output the maximum value in a matrix

3개월 전

문제를 풀었습니다


true or false
if the matrix has a zero, return true. else, return false

3개월 전

문제를 풀었습니다


Do Fast Fourier Transformation
Example Fast Fourier Transformation from vector [2,1]) ans = 3 1

3개월 전

문제를 풀었습니다


Remove white space from the string
Remove the white spaces (trailing and leading) from the input variable

3개월 전

문제를 풀었습니다


Back to basics 3 - Temp Directory
Covering some basic topics I haven't seen elsewhere on Cody. Return a string that is the path to the system's current temp di...

3개월 전

문제를 풀었습니다


Vector with a repeated entry
Create a row vector of length n, filled with 4's. For example, if n = 3, output = [4 4 4]

3개월 전

문제를 풀었습니다


If you have matrix A, create matrix B using matrix A as an "element"
A = [1 2 3 4; 5 6 7 8] B = [1 2 3 4 1 2 3 4; 5 6 ...

3개월 전

문제를 풀었습니다


ASCII Code
Using matlab, give the symbol that is associated with ASCii code 90.

3개월 전

문제를 풀었습니다


Corresponding ASCII code.
Given the number, the output will show the corresponding ASCII code.

3개월 전

문제를 풀었습니다


ASCII code of a leter.
Given the letter, the output will show the corresponding ASCII code.

3개월 전

문제를 풀었습니다


Annual Salary
What is the annual salary of Mr. Cody if he works 40 hours a week and gets $x per hour and a yearly bonus of $2000? (Let, 50 wee...

3개월 전

문제를 풀었습니다


Number of digits in an integer
Specifies how many digits in a given integer. Example: in=100 ==> out=3

3개월 전

문제를 풀었습니다


Remove All elements less than 5
Given an input vector x, remove all elements of x less than 5 . Example: Input x = [ 1 2 5 7 3 ] Output y is [ 5 7 ...

3개월 전

문제를 풀었습니다


Matlab Basics II - Find the roots of a function
Write a function that finds where a curve crosses zero (the x-axis) to two decimal places Example: <<http://s14.postimg.o...

3개월 전

문제를 풀었습니다


Matlab Basics - Assigning Variables
Assign different types of data to variables: integer, double, and strings Example: A is a double, for example 2.34 B is a...

3개월 전

문제를 풀었습니다


Matlab Basics II - Operations and Matrix Dimensions
Write a function that takes two inputs, a & b, and outputs the sum and product of the two matrices. The matrices have OPPOSITE d...

3개월 전

문제를 풀었습니다


Matlab Basics II - Velocity of a particle
A particle is moving in space, such that it's velocity is given by: <<http://s30.postimg.org/5rf1xtvj5/cody1.png>> write a...

3개월 전

문제를 풀었습니다


Matlab Basics - Pick out parts of a vector
Consider x a vector of length >= 7 (there are at least 7 elements in the vector, write a script that extracts the 2nd element, a...

3개월 전

문제를 풀었습니다


Sum of diagonals elements of a matrix
Given a matrix, return the sum of all the elements across the diagonals. E.g. A = [1 2 3; 4 5 6; 7 8 9;...

3개월 전

더 보기