Solved


asdf
asdf

9 years ago

Solved


Volume Pillar
Calculate the volume of a pillar with radius l and heigth ar.

9 years ago

Solved


vectors counting by 5
Create a vector with numbers from x_min to x_max in increments of 5.

9 years ago

Solved


row removal
Remove the nth row from input matrix M and return the resulting matrix in output N.

9 years ago

Solved


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 ago

Solved


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 ago

Solved


extract the fifth through the last elements
For any vector x, write a function that extracts the fifth through the last elements.

9 years ago

Solved


a vector with a repeated entry
Create a row vector of length x, filled with 7's, for example, if x = 5 output = [7 7 7 7 7] make sure to round UP when x ...

9 years ago

Solved


the difference of cubes
Given a and b, return the difference of cubes a^3 - b^3 in c.

9 years ago

Solved


subtract two numbers
Given a and b, return the difference a-b in c.

9 years ago

Solved


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

9 years ago

Solved


complex numbers
For complex number z=a+bi, write code that will multiply a and b together.

9 years ago

Solved


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

9 years ago

Solved


rounding
Round 5.46 and make 'y' equal to that number.

9 years ago

Solved


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

9 years ago

Solved


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 ago

Solved


Use a timetable to analyze a train timetable (Part 5)
You are analyzing a train timetable (you have some time to kill since you just missed your train!) How many trains depart each d...

9 years ago

Solved


Use a timetable to analyze a train timetable (Part 4)
You are analyzing a train timetable (you have some time to kill since you just missed your train!) What is the average daily tri...

9 years ago

Solved


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 ago

Solved


Convolution of vectors
Find the convolution of the 2 vectors.

9 years ago

Solved


Find 1's Complement
Find 1's complement of a binary number For Example: x = 10011010 1's complement of x = 01100101

9 years ago

Solved


Find Pseudo-Cyclic Number
A cyclic number is an integer in which cyclic permutations of the digits are successive multiples of the number https://en.wikip...

9 years ago

Solved


Number construction III
Given a positive integer, n, return a, b and c, such that 1. n = a^1.5+b^2.5+c^3.5 2. a, b and c are all positive integers...

9 years ago

Solved


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 ago

Solved


Namespace
Create a set of n variable names 'a_1',...,'a_n' The result should be a column oriented cell array of strings. Example inp...

9 years ago

Solved


square of a number
find square of a given number

9 years ago

Solved


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

9 years ago

Solved


Find the quantization index of an analog value using a 6-bit quantizer.
Given a sinusoidal waveform x(t)=4.5*sin(2*pi*100*t) is sampled at 8000 sample per second. Assume that signal range is between -...

9 years ago

Solved


Compound interest - number e
A moneylender wants to receive his annual interest of 12% more frequently. If he receives his interest rate every six months,...

9 years ago

Solved


Solve the following boundary value problem
Return the sum of sum(res.y) y"+|y|=0 y(0)=a y(4)=b Tip: use bvp4c

9 years ago

Load more