문제를 풀었습니다


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

4개월 전

문제를 풀었습니다


Clipper Function
Create a function that emulates a clipper circuit Given sin wave, t and the constant value for clipping, and the direction to re...

4개월 전

문제를 풀었습니다


Upper Matrix Mock
Given a vector v=[1 3 6 9 11], turn it into a matrix 'ramp' like so: m=[1 3 6 9 11; 0 1 3 6 9; 0 0 1 3 6; 0 0 0 1...

4개월 전

문제를 풀었습니다


Sum of Two Numbers
Given two integer numbers x and y, calculate their sum and put it in z. Examples: Inputs x = 2, y = 4 Output z is 6 ...

4개월 전

문제를 풀었습니다


multiply by three
Given the variable x as your input, multiply it by 3 and put the result equal to y. Examples: Input x = 2 Output y is ...

4개월 전

문제를 풀었습니다


Column norms of a matrix
Given a matrix M, return a vector y such that for each k y(k)=norm(M(:,k)) (y(k) is the Euclidean norm of the k-th col...

4개월 전

문제를 풀었습니다


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

4개월 전

문제를 풀었습니다


Program an exclusive OR operation with logical operators
Program an exclusive or operation *without* using the MATLAB function xor. Use logical operators like |, &, ~, ... instead. ...

4개월 전

문제를 풀었습니다


findPositiveEvenNumbers
Write a MATLAB function findPositiveEvenNumbers that takes an array of integers as input and returns a new array containing only...

4개월 전

문제를 풀었습니다


Temperature Conversion 3
Given a temperature in Celcius, convert it to Fahrenheit.

4개월 전

문제를 풀었습니다


Laws of motion 4
Given the initial velocity 'u', final velocity 'v' and acceleration 'a', find the distance travelled.

4개월 전

문제를 풀었습니다


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

4개월 전

문제를 풀었습니다


Perimeter of a semicircle
Given the diameter d, find the perimeter of a semicircle

4개월 전

문제를 풀었습니다


Area of a Square
Inside a square is a circle with radius r. What is the area of the square?

4개월 전

문제를 풀었습니다


Sorted highest to lowest?
Return 1 if the input is sorted from highest to lowest, 0 if not. Example: 1:7 -> 0 [7 5 2] -> 1

4개월 전

문제를 풀었습니다


Return longest string in 1-D array of strings
Find the longest string in an array of strings. Return an empty string if the initial array is empty. If there are multiple stri...

4개월 전

문제를 풀었습니다


How to calculate log?
There is a log that have base 5. How to calculate? log5(x)?

4개월 전

문제를 풀었습니다


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

4개월 전

문제를 풀었습니다


Divide by 4
Given the variable x as your input, divide it by four and put the result in y.

4개월 전

문제를 풀었습니다


kmph to mps
convert kilometer per hour to meter per second

4개월 전

문제를 풀었습니다


Given a matrix, swap the 2nd & 3rd columns
If a = [1 2 3 4; 1 2 3 4; 1 2 3 4; 1 2 3 4]; then the result is ans = 1 3 2 4 1 3 2...

4개월 전

문제를 풀었습니다


Add two numbers
Calculate the sum of two numbers. Example input = [2 3] output = 5

4개월 전

문제를 풀었습니다


Draw the symbol '+'
Draw '+' in an x-by-x matrix (where x is odd and x >3) Example: x = 5 y = [0 0 1 0 0 0 0 1 0 0 1 1 1 1 1 0 ...

4개월 전

문제를 풀었습니다


Kinetic energy calculation

4개월 전

문제를 풀었습니다


Laws of motion 5
Calculate the force is u are given mass and acceleration.

4개월 전

문제를 풀었습니다


Laws of motion 2

4개월 전

문제를 풀었습니다


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

4개월 전

문제를 풀었습니다


Hemisphere Volume on Top of a Cylinder
This MATLAB function has to calculate the volume of a hemisphere placed on top of a cylinder, given valid inputs. It takes the r...

4개월 전

문제를 풀었습니다


Determine if input is greater than pi
Evaluate if given number is greater than pi. If greater, return true; else, return false.

4개월 전

문제를 풀었습니다


Linear system of equations
Solve the system of equations in three variables.

4개월 전

더 보기