Solved

Times 2 - START HERE

Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

10 maanden ago

Solved

Calculate the CIRCUMFERENCE of circle.

Given the radius is 2, the circumference will be 12.5663.

meer dan een jaar ago

Solved

Simple Vector Addition

Take two incoming vectors and output the sum of the two vectors

bijna 2 jaar ago

Solved

Vector Element Multiplication

Take two incoming vectors, and output the element wise multiplication of the vectors.

bijna 2 jaar ago

Solved

Matrix Generation from Vector Multiplication

Output the matrix generated from multiplying two vectors together

bijna 2 jaar ago

Solved

Find the mean of two vectors

Take two vectors, and output the mean of them (bonus if you don't use the in-built mean function)

bijna 2 jaar ago

Solved

Check if inputted variable is a string or a number

Check if a inputted variable is a number or a string, given a string input (i.e. '1' is 1 and thus a number, 'a' is a string).

bijna 2 jaar ago

Solved

Find the sum of the largest two elements in a vector

With this one, you have to find the two largest elements in a vector and output the sum of those numbers.

bijna 2 jaar ago

Answered

how to scale the array type double of range [-1,1] to [0,1] and [0,360] to[0,1]

if input is matrix, you can use this. upper, bottom xmax =max(input); xmin =min(input); A=bsxfun(@minus,input,xmin); B=b...

how to scale the array type double of range [-1,1] to [0,1] and [0,360] to[0,1]

if input is matrix, you can use this. upper, bottom xmax =max(input); xmin =min(input); A=bsxfun(@minus,input,xmin); B=b...

bijna 2 jaar ago | 0

Solved

Check availability of a number in an array

An array is given A=[1 2 3 4 5 7 8 9 10]. Find whether the number n is present in given array or not. If the number n is prese...

ongeveer 2 jaar ago

Solved

Sum of self power series

The series, 1^1,2^2,3^3,4^4,.... Find the sum of such series when x terms are given.

ongeveer 2 jaar ago

Solved

Calculate the number of elements in a matrix.

Calculate the number of elements in a matrix.

ongeveer 2 jaar ago

Solved

Volume Pillar

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

meer dan 2 jaar ago

Solved

Average Grade

Given a 1x5 vector presents the grades of a student on five tests. Calculate the average grade of that student.

meer dan 2 jaar ago

Solved

Reverse a string

Reverse the given string. Example input = 'reverse' output = 'esrever'

meer dan 2 jaar ago

Solved

Conversion from hours to mili sec

Convert given input in hours to mili seconds

meer dan 2 jaar ago

Solved

UICBioE240 problem 1.5

Find the size of the matrix, then multiply both values by 10 and make it into a column vector. So if A = [ 1 2 3; ...

meer dan 2 jaar ago

Solved

UICBioE240 problem 1.6

Find the tangent line of a right triangle given the two of the sides. So if A = [1 1] B = sqrt(2)

meer dan 2 jaar ago

Solved

vectors counting by 5

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

meer dan 2 jaar ago

Solved

Combine the first and last names

MATLAB R2016 provides a rich set of functions to work with string arrays. In this problem, you will be given two string arrays o...

meer dan 2 jaar ago

Solved

matrix to vector

For given a matrix of any size, convert it into a column vector.

meer dan 2 jaar ago

Solved

mean

Calculate the mean of a given vector (with positive elements) and return them in a vector.

meer dan 2 jaar ago

Solved

row removal

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

meer dan 2 jaar 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.

meer dan 2 jaar ago

Solved

Determine if number is even

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

meer dan 2 jaar ago

Solved

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

meer dan 2 jaar ago