Community Profile

Jess Stuart

Last seen: 27일 전
45 2017 이후 총 참여 횟수

Jess Stuart's 배지

세부 정보 보기...

참여 게시물
보기 기준

답변 있음
digital low pass FIR filter design where the cut off frequency is stuck at around -6db
General Rule: X in dB = 10*log(Power Ratio) DSP Filter designers typically work with voltage, so they will use: X in dB = 2...

27일 전 | 0

해결됨

Dimensions of a rectangle
The longer side of a rectangle is three times the length of the shorter side. If the length of the diagonal is x, find the width...

3년 이상 전

해결됨

Factorize THIS, buddy
List the prime factors for the input number, in decreasing order. List each factor only once, even if the factorization includes...

3년 이상 전

해결됨

Bullseye Matrix
Given n (always odd), return output a that has concentric rings of the numbers 1 through (n+1)/2 around the center point. Exampl...

3년 이상 전

해결됨

Sum of diagonal of a square matrix
If x = [1 2 4; 3 4 5; 5 6 7] then y should be the sum of the diagonals of the matrix y = 1 + 4 + 7 = 12

3년 이상 전

해결됨

Project Euler: Problem 1, Multiples of 3 and 5
If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23...

3년 이상 전

문제

Polar Form Complex Number Entry
Write a function that takes the magnitude and angle(in degrees) of a complex number and returns a complex variable. Positive ang...

3년 이상 전 | 0 | 솔버 수: 17

해결됨

Area of an equilateral triangle
Calculate the area of an equilateral triangle of side x. <<http://upload.wikimedia.org/wikipedia/commons/e/e0/Equilateral-tr...

3년 이상 전

해결됨

Complex number
For complex number c=a+bi, write code that will add a and b together.

3년 이상 전

해결됨

Tricky timing
Write a function that takes between 0.5 seconds and 0.6 seconds to run.

3년 이상 전

해결됨

Given a window, how many subsets of a vector sum positive
Given a vector: [1 0 -1 3 2 -3 1] and a window of 2, A sliding window would find: 1 + 0 = 1 0 - 1 = -1 ...

3년 이상 전

해결됨

Magic is simple (for beginners)
Determine for a magic square of order n, the magic sum m. For example m=15 for a magic square of order 3.

3년 이상 전

해결됨

Rotate a Matrix by 90 degrees
Rotate a Matrix by 90 degrees Example: If the input is: X = 1 2 3 4 5 6 7 8 9 ...

3년 이상 전

해결됨

Duplicate each element of a vector.
for an n-dimensional vector x, the function should return another vector 2n-dimension which each element is repeated twice. Ex...

3년 이상 전

해결됨

Angle between two vectors
You have two vectors , determine the angle between these two vectors For example: u = [0 0 1]; v = [1 0 0]; The a...

3년 이상 전

해결됨

CONVERT TAN TO SIN
In a right angle triangle ABC given the tan(A) then find sin(A) For example tan(A)=3/4 then sin(A)=3/5

3년 이상 전

해결됨

High school cafeteria
Given an input vector of positive integers, return a row vector with the primes first (in increasing order) and the composites n...

3년 이상 전

해결됨

Length of a short side
Calculate the length of the short side, a, of a right-angled triangle with hypotenuse of length c, and other short side of lengt...

3년 이상 전

해결됨

Multiply 2 numbers
Very easy, you just have to multiply 2 numbers but you cannot use the following signs (*, /, - ,^) ,mtimes , times, cross, pro...

3년 이상 전

해결됨

Filter AC, pass DC
Input x is the sampled signal vector, may have both AC and DC components. Output vector y should not contain any AC component. ...

3년 이상 전

해결됨

Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

3년 이상 전

해결됨

03 - Matrix Variables 6
Make _fMat_ be a 5x3 matrix of random integers with values from -3 to 3 (Hint: use *randi*)

3년 이상 전

해결됨

Sort a list of complex numbers based on far they are from the origin.
Given a list of complex numbers z, return a list zSorted such that the numbers that are farthest from the origin (0+0i) appear f...

3년 이상 전

해결됨

Multiply by 3
Given the variable x as your input, multiply it by three and put the result in y.

3년 이상 전

해결됨

Fibonacci sequence
Calculate the nth Fibonacci number. Given n, return f where f = fib(n) and f(1) = 1, f(2) = 1, f(3) = 2, ... Examples: Inpu...

3년 이상 전

해결됨

Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

3년 이상 전

해결됨

Tell me the slope
Tell me the slope, given a vector with horizontal run first and vertical rise next. Example input: x = [10 2];

3년 이상 전

해결됨

Make one big string out of two smaller strings
If you have two small strings, like 'a' and 'b', return them put together like 'ab'. 'a' and 'b' => 'ab' For extra ...

3년 이상 전

해결됨

Bottles of beer
Given an input number representing the number of bottles of beer on the wall, output how many are left if you take one down and ...

3년 이상 전

해결됨

Arrange Vector in descending order
If x=[0,3,4,2,1] then y=[4,3,2,1,0]

3년 이상 전