문제를 풀었습니다


0<=x<=pi?
Check whether the given angle is between zero and pi. Return logical true or false.

거의 4년 전

문제를 풀었습니다


Divide pi
Divide pi by x!

거의 4년 전

문제를 풀었습니다


Factorial !
Calculate the factorial of a non-negative integer without using the built in function *factorial*

거의 4년 전

문제를 풀었습니다


Create logarithmically spaced values (★)
Given three numbers a,b,n with b>a, create a vector y with n logarithmic spaced values between 10^a and 10^b. Thus, if a = -2, ...

거의 4년 전

문제를 풀었습니다


Sum of elements in a vector (★)
(copy of Prob. 3) Find the sum of all the numbers of the input vector x. Input x = [1 2 3 5] Output y is 11 <> ...

거의 4년 전

문제를 풀었습니다


Vector raised to a power, element-wise (★)
Given a vector A and a number x, raise each element of the vector to the power of x. Thus, if A = [2 5 7 1] and x = 0.5, then ...

거의 4년 전

문제를 풀었습니다


area

거의 4년 전

문제를 풀었습니다


easy problem
Find the last element of the array

거의 4년 전

문제를 풀었습니다


Multiply pi
Multiply pi with x!

거의 4년 전

문제를 풀었습니다


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

거의 4년 전

문제를 풀었습니다


Matrix multiplication
Multiply two incoming matrices via matrix multiplication

거의 4년 전

문제를 풀었습니다


Element-wise vector product (★)
Given two vectors x and y, compute their element-wise product z. Thus, if x = [1 3 5] and y = [0.5 -1 2], then z = [1*0.5...

거의 4년 전

문제를 풀었습니다


Create a vector of the first n natural numbers (★)
If n = 7, your program should return a vector y, where y = [1 2 3 4 5 6 7].

거의 4년 전

문제를 풀었습니다


Create a vector of the first n odd numbers (★)
If n = 10, your program should return a vector y, where y = [1 3 5 7 9 11 13 15 17 19].

거의 4년 전

문제를 풀었습니다


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

거의 4년 전

문제를 풀었습니다


Rearrange the given matrix to have all its zeros climb up to the top of each column - using for loops.
Given a matrix x, *using loops only* return a matrix y, in which all the zeros have "climbed" up to the top. That is, any zeros ...

거의 4년 전

문제를 풀었습니다


Calculate the square of a number (Super Easy)
The goal is to calculate the square (y) of a number (x). Good way to start MatLab for beginners.

거의 4년 전

문제를 풀었습니다


Make a Plot with Functions
Make a plot and test

거의 4년 전

문제를 풀었습니다


Electrical Diode Current Calculation
In engineering, there is not always a single equation that describes a phenomenon accurately enough to be applied in all instanc...

거의 4년 전

문제를 풀었습니다


An Ohm's Law Calculator
*BACKGROUND / MOTIVATION:* Many important observations in math and science can be described by short, but powerful, equations...

거의 4년 전

문제를 풀었습니다


Shuffle
Shuffle a vector by breaking it up to segments of |n| elements, and rearranging them in a reversed order. For example, the ve...

거의 4년 전

문제를 풀었습니다


The Piggy Bank Problem
Given a cylindrical piggy bank with radius g and height y, return the bank's volume. [ g is first input argument.] Bonus though...

거의 4년 전

문제를 풀었습니다


Current through resistor
Three resistors (R2, R3, R4) are connected in parallel as shown in the figure. If this combination is connected in series with ...

거의 4년 전

문제를 풀었습니다


Convert a given Character to its decimal equivalent value
Convert a given character to its decimal equivalent value according to the ascii table. if x = '!'; y = 33; if x = 'u'; ...

거의 4년 전

문제를 풀었습니다


Mathematical formula
Find the value of the expression given the values of variables t and k. Assume g=9.81

거의 4년 전

문제를 풀었습니다


Travel time
Calculate the time (in hours) it takes a car traveling at a given uniform speed of s km/hour to travel a distance of d km. For i...

거의 4년 전

문제를 풀었습니다


Function substitution (2)
Evaluate the function for the given values of the variables N and t

거의 4년 전

문제를 풀었습니다


Function substitution (1)
Evaluate the function for the given values of the variables N and t

거의 4년 전

문제를 풀었습니다


Array Concatenation (2)
Given two matrices, a and b, concatenate the two matrices vertically, i.e., the number of rows of the result should be equal to ...

거의 4년 전

문제를 풀었습니다


Array Concatenation (1)
Given two matrices, a and b, concatenate the two matrices horizontally, i.e., the number of columns of the result should be equa...

거의 4년 전

더 보기