문제를 풀었습니다


Modulation index
The amplitude of the carrier signal is 2V and the amplitude of the modulating signal is 8V. Find its modulation index.

9년 초과 전

문제를 풀었습니다


Adding each element
Add the each element of the matrix.

9년 초과 전

문제를 풀었습니다


Half wave rectifier
Create a function that emulates a half wave rectifier. Use a sine wave

9년 초과 전

문제를 풀었습니다


Full Wave rectifier
Create a function that emulates a full wave rectifier. Use a sine wave

9년 초과 전

문제를 풀었습니다


Change matrix to vector
Vector is a matrix whose size is 1 x n or n x 1. Change matrix to vector. x = 4 3 5 1 ...

9년 초과 전

문제를 풀었습니다


Get all prime factors
List the prime factors for the input number, in decreasing order. List each factor. If the prime factor occurs twice, list it as...

9년 초과 전

문제를 풀었습니다


Calculate this one!
Using matlab calculate y y=(e^2)+100/20+sin(pi)*x Use x as a input.

9년 초과 전

문제를 풀었습니다


Calculate some equation
Using given inputs x and z, make two outputs that are y1 = (xz)/(x/z)^2 + 14x^2 - 0.8z^2 y2 = x^z - z^x + (x/z)^2 - (z/x...

9년 초과 전

문제를 풀었습니다


kmph to mph converter
Convert the speed in miles/hour to km/hour.

9년 초과 전

문제를 풀었습니다


Calculate representive values (max. min. std)
A B C -------------------------- t=1 2.2 2.6 2.4 t=2 2.4 2.8 2.2 t=3 2.6 2.7 2....

9년 초과 전

문제를 풀었습니다


Calculate z=x^2+y^2
There are z in (x,y). x=1:10;y=1:10 [x y]=meshgrid(x,y) Calculate x^2+y^2.

9년 초과 전

문제를 풀었습니다


Check given number is odd or even
Using input [x], check given number is odd or even if x is odd, output should be true.

9년 초과 전

문제를 풀었습니다


Calculate RMSE
RMSE(Root Mean Square Error) is widely used to calculate error. Calculate RMSE between [a] and [b] a=[1 2 3 4] b=[0 1 2 ...

9년 초과 전

문제를 풀었습니다


Calculate polynomial equation
Calculate this equation using given x 1+x+x^2+x^3+....x^99 (hint: use polyval)

9년 초과 전

문제를 풀었습니다


Energy of an object
Calculate the total mechanical energy of an object. Total Energy= Potential energy + Kinetic energy P.E.=m*g*h K.E.=1/2...

9년 초과 전

문제를 풀었습니다


DC-DC boost converter
Find the output voltage of a DC-DC boost converter when its input voltage is 12V and the duty cycle ratio is 0.6.

9년 초과 전

문제를 풀었습니다


Number of primes
Count the number of primes less than 'n'.

9년 초과 전

문제를 풀었습니다


Create a constant offset.
Add a constant offset to an array. For example: a=[1 3 5 9]; offset=2; y=[3 5 7 11];

9년 초과 전

문제를 풀었습니다


Square of the sum of optimus
Get the square of the sum of all primes given the limit input x

9년 초과 전

문제를 풀었습니다


Annoying population
Every year the number of annoying persons in the office triples Found the population, given a(0) and t

9년 초과 전

문제를 풀었습니다


Sum of the squares of optimus
Get the sum of the squares of primes given limit input x Ex. x = 10, output = 2^2 + 3^2 + 5^2 + 7^2

9년 초과 전

문제를 풀었습니다


Freebies anyone? No!!!!
Feel free to copy paste all the tests and voila you solved the problem

9년 초과 전

문제를 풀었습니다


Ceil Me Now
Get the ceiling of the input matrix

9년 초과 전

문제를 풀었습니다


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

9년 초과 전

문제를 풀었습니다


Create sine function out of cosine
Please don't use sin(x) directly

9년 초과 전

문제를 풀었습니다


Create cosine function out of sine
Please dont use cos(x) directly

9년 초과 전

문제를 풀었습니다


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

9년 초과 전

문제를 풀었습니다


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

9년 초과 전

문제를 풀었습니다


Basic commands - logarithmically spaced vector
Make a function, which will give a vector: y=[ 0.01 0.1 1 10 ... 10^x];

9년 초과 전

문제를 풀었습니다


Basic commands - amount of inputs
Make a function, which will return amount of given inputs Example: amountinput(1,2,4,3,10) -> 5 , because we gave functio...

9년 초과 전

더 보기