문제를 풀었습니다


Add two numbers
Add two numbers (For beginners)

대략 12년 전

문제를 풀었습니다


Calculate value of capacitor
Given the value of resistance and time at which capacitor charges to it's 99%. calculate the value of capacitor

대략 12년 전

문제를 풀었습니다


Tiling a matrix
Given a matrix and a number of columns, replicate matrix in a single row

대략 12년 전

문제를 풀었습니다


convert matrix to single column
given any matrix, convert it to single column

대략 12년 전

문제를 풀었습니다


Calculate the peak value of square wave
Given the peak value of sine wave, calculate corresponding peak value of square wave, if both have same RMS voltage.

대략 12년 전

문제를 풀었습니다


Maximum value in a matrix
Find the maximum value in the given matrix. For example, if A = [1 2 3; 4 7 8; 0 9 1]; then the answer is 9.

대략 12년 전

문제를 풀었습니다


Negative matrix
Change the sign of all elements in given matrix.

대략 12년 전

문제를 풀었습니다


Find the hypotenuse
Given a and b (the two sides of a right-triangle), find c, the hypotenuse.

대략 12년 전

문제를 풀었습니다


calculate RMS voltage
given peak to peak voltage, calculate rms voltage

대략 12년 전

문제를 풀었습니다


Square wave average calculation
Given its peak and duty cycle, calculate avg value of square wave

대략 12년 전

문제를 풀었습니다


Ohm's Law
Well its Ohm's law... So V = IR! I will give two of the three values, such as V and I or I and R and you have to return th...

대략 12년 전

문제를 풀었습니다


Transpose
Write a MATLAB script in order to convert a random length row vector (v) into a column vector.

대략 12년 전

문제를 풀었습니다


Pizza value using expression with parentheses
Pizza prices are typically listed by diameter, rather than the more relevant feature of area. Compute a pizza's value (cost per ...

대략 12년 전

문제를 풀었습니다


Calculate distance travelled when given radius and rotations
When given radius of wheel and number of rotations calculate total distance travelled consider pi=3.14

대략 12년 전

문제를 풀었습니다


Simple equation: Annual salary
Given an hourly wage, compute an annual salary by multiplying the wage times 40 and times 50, because salary = wage x 40 hours/w...

대략 12년 전

문제를 풀었습니다


Create a row array using double colon operator
Create a row array from 9 to 1, using the double colon operator.

대략 12년 전

문제를 풀었습니다


Relative ratio of "1" in binary number
Input(n) is positive integer number Output(r) is (number of "1" in binary input) / (number of bits). Example: * n=0; r=...

대략 12년 전

문제를 풀었습니다


sum of first 'n' terms
Given n=10, find the sum of first 'n' terms Example: If n=10, then x=1,2,3,4,5,6,7,8,9,10. The sum of these n=10 terms is 55...

대략 12년 전

문제를 풀었습니다


Circle area using pi
Given a circle's radius, compute the circle's area. Use the built-in mathematical constant pi.

대략 12년 전

문제를 풀었습니다


Fahrenheit to Celsius using multiple statements
Given a Fahrenheit value F, convert to a Celsius value C. While the equation is C = 5/9 * (F - 32), as an exercise use two state...

대략 12년 전

문제를 풀었습니다


Is it a number?
Determine if input is numeric. If it is,output is 1; if it is not, output is 0.

대략 12년 전

문제를 풀었습니다


Mode
Find the mode of the vector Assumption: no vector is bimodal Example 1: input=[1 2 3 4 4]; output=4 Example 2: input=[7...

대략 12년 전

문제를 풀었습니다


Sort complex numbers into complex conjugate pairs
Sort complex numbers into complex conjugate pairs. Example: Input x = [3-6i -1-4i -1+4i 3+6i] Sorted output = [-1 - ...

대략 12년 전

문제를 풀었습니다


Related Vectors
I have two vectors A & B. If the values in vector A is zero then the corresponding value in vector B should be zero. Example:...

대략 12년 전

문제를 풀었습니다


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

대략 12년 전

문제를 풀었습니다


Frobenius Norm
Write your own version of Frobenius Norm without using the 'norm' function.

대략 12년 전

문제를 풀었습니다


Sum the numbers on the main diagonal
Sum the numbers on the main diagonal of an n-by-n matrix. For input: A = [1 2 4 3 6 2 2 4 7]...

대략 12년 전

문제를 풀었습니다


Return area of square
Side of square=input=a Area=output=b

대략 12년 전

문제를 풀었습니다


Vector of numbers divisible by 3
* Input(n) - any integer * Output(v) - vector with numbers divisible by 3(exept 0) starting from n to 0 Examples: * n=6...

대략 12년 전

문제를 풀었습니다


Can I make a right triangle ?
Input(a) - is vector with any amount of values. Interpreted as legths of sides. Output(b): * Is true if there are any 3 va...

대략 12년 전

더 보기