已解决


Degrees to Radian
Convert degrees to radians

9 years 前

已解决


Radians to Degrees
Convert radians to degrees.

9 years 前

已解决


determine the sum of the squares
if x = 4, the solution will be: y = 1^2+2^2+3^2+4^2=1+4+9+16 = 30.

9 years 前

已解决


Pascal's triangle
<https://en.wikipedia.org/wiki/Pascal%27s_triangle> if the order is: x = 3; the output will be: output = [0 0 0 1 0 0 ...

9 years 前

已解决


Hydrostatic Pressure
Given depth(height), in m, find the pressure under a body of water. Need to know the density of water(kg/m^3), and gravity(m/s^2...

9 years 前

已解决


Increment up an input vector
Increment up an input vector by adding the indices to the vector values. For example, if an input vector is [3, 2, 6, 1, 6], the...

9 years 前

已解决


Change on Spiral Matrix
n>=3, generate a matrix of nth such that n^2 is the max number, and max number must be in [1,1] or [end, end]. One example will ...

9 years 前

已解决


Distance walked 1D
Suppose you go from position 7 to 10 to 6 to 4. Then you have walked 9 units of distance, since 7 to 10 is 3 units, 10 to 6 is 4...

9 years 前

已解决


intervals
Write a function that takes an interval from a to b, and divides it into 6 parts.

9 years 前

已解决


square root
Write a script that returns the square root of the elements in x. e.g. x = [1 4 9 16] --> y = [1 2 3 4]

9 years 前

已解决


length of a vector
Find three times the length of a given vector.

9 years 前

已解决


Get chain of consecutive characters
Write a function that will output a chain of consecutive characters, given 2 letters as input. It has to work backwards too. Exa...

9 years 前

已解决


Convolution of vectors
Find the convolution of the 2 vectors.

9 years 前

已解决


Design a function to perform convolution on 2 vector of numbers
The function should accept 2 one dimensional vectors of any length and compute the convolution between these 2 vectors and store...

9 years 前

已解决


Quantization
3-bit ADC channel accepts analog input ranging from 0 to 5 volts, determine the number of quantization levels.

9 years 前

已解决


Use R2016b Text Manipulations to Fix These Addresses (Part 3)
We have a series of addresses like the following which we'd like to reformat. Each of the addresses lacks a space and a comma ...

9 years 前

已解决


Use R2016b Text Manipulations to Fix These Addresses (Part 2)
We have a series of addresses like the following which we'd like to reformat. All the addresses are in the Boston area of Mass...

9 years 前

已解决


Use R2016b Text Manipulations to Fix These Addresses (Part 1)
We have a series of addresses like the following which we'd like to reformat. Can you remove the latitude and longitude from the...

9 years 前

已解决


When Was That Goal Scored?
We want to find out when the goals were scored in a particular soccer game. For each game, we are given a "Goal Event Data" XML ...

9 years 前

已解决


Permute the matrix after unique(but not sorted)
Given an vector A, try to get the matrix B, which each row is the same vector after 'unique function'. For example, A =[2 5 3 4 ...

9 years 前

已解决


Matrix to 3-Column Matrix
Consider a matrix *A* such as A = [1 2 3 3 4 5 6; 2 3 4 5 6 7 8]; Can you convert this matrix to a three-column ...

9 years 前

已解决


write a function to calculate the snr after quantizing the signal in dB
osig : original signal qsig : quantized signal qerror : quantization error HINT: snr = 10×log10(sum(osig × osig)/sum...

9 years 前

已解决


plotting a quantized signal (DSP)
Given the following sinusoidal wave x(t)= 5 sin(2pi * 50*t) with a 4 bit bipolar quantizer, sampled at 8000 Hz and signal range ...

9 years 前

已解决


Determine if number is even
Your function should return true if input x is even, else return false

9 years 前

已解决


Decimal to Binary
Create a function that returns the binary of a decimal number. Decimal number is given as 6

9 years 前

已解决


convert 2D array of ones and zeros to checkerboard array of [1,2] where the original array was ones and zero elsewhere
Given a 2D array of ones and zeros, generate an equivalent sized checkerboard array of ones and twos. The checkerboard pattern s...

9 years 前

已解决


Quantization Level
Given an 3-bit Quantizer ranging from 0-5 Volts, Determine the number of quantization level.

9 years 前

已解决


Determine the number of quantization levels
m is the number of bits used in ADC determine the number of quantization level

9 years 前

已解决


if
if value n is larger than or equal to 100, return true, else false.

9 years 前

已解决


Create a function for uniform quantization decoding.
include the formula to find pq, delta and quantization level.

9 years 前

加载更多