Solved

Solve expression I

Solve expression (1+sin(x))/cos(x)+cos(x)/(1+sin(x)) for given vector x.

fast 2 Jahre ago

Solved

Determine point is located in a circle or not

Using input [x] and [y], determine the points (x,y) is located inside of circle (x^2+y^2=1) if point is located in circle,...

fast 2 Jahre ago

Solved

Find the product of a Vector

How would you find the product of the vector [1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0 5.5 6.0] times 2?; x = [1 : 0.5 : 6]; y ...

fast 2 Jahre ago

Solved

UICBioE240 problem 1.13

Compute the following - y = x^5/(x^-1) and y = (1-(1/x^5))^-1. Have the final answer of y to equal a 1 by 2 vector.

fast 2 Jahre ago

Solved

UICBioE240 2.10

Given a vector of numbers, give the difference between the maximum and minimum values.

fast 2 Jahre ago

Solved

UICBioE240 problem 1.2

Convert a column vector into a row vector. So if A = [1; 2; 3] Then B = [ 1 2 3]

fast 2 Jahre ago

Solved

Summation of array

Given an array, Find the sum of all of the elements in it Examples: Input x = [1 2 3 5; 4 5 6 7]; Output y is 33

fast 2 Jahre ago

Solved

How many jokers?

* Given DNA codes of a group of suspects, * and a code for certain types of jokers, * Count how many jokers of that type. * ...

fast 2 Jahre ago

Solved

Complex number

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

fast 2 Jahre ago

Solved

Vector with a repeated entry

Create a row vector of length n, filled with 4's. For example, if n = 3, output = [4 4 4] Hint: Search for the function...

fast 2 Jahre ago

Solved

Corresponding letter to ASCII code.

Given the letter, the output will show the corresponding ASCII code.

fast 2 Jahre ago

Solved

Counting down

Create a vector that counts from 450 to 200 in increments of 10.

fast 2 Jahre ago

Solved

MATLAB Basic: rounding II

Do rounding nearest integer. Example: -8.8, answer -9 +8.1 answer 8 +8.50 answer 9

fast 2 Jahre ago

Solved

Speed of car

Calculate the Speed of car given its Distance travelled and time taken in x and y respectively

fast 2 Jahre ago

Solved

Write a code that will follow the equation y = x * (x + x) * x.

If x = 5, y = 5 * (5+5) * 5 = 250

fast 2 Jahre ago

Solved

Back to Basics - Find no. of elements in a matrix?

Let A be a m*n matrix. Find the total no. of elements in A ? (Hint - formula based) A = [1 2 3;4 5 6]; output = 6

fast 2 Jahre ago

Solved

Find out value of sine given by degree.

Find out value of sine given by degree. If theta=30, it's value must be 0.5.

fast 2 Jahre ago

Solved

Integer or Float?

Test an input to see whether it is an integer or a floating point number. If it is an integer return 1 for 'true'. Otherwise ret...

fast 2 Jahre ago

Solved

If you have matrix A, create matrix B using matrix A as an "element"

A = [1 2 3 4; 5 6 7 8] B = [1 2 3 4 1 2 3 4; 5 6 ...

fast 2 Jahre ago

Solved

ASCII code of a leter.

Given the letter, the output will show the corresponding ASCII code.

fast 2 Jahre ago

Solved

Annual Salary

What is the annual salary of Mr. Cody if he works 40 hours a week and gets $x per hour and a yearly bonus of $2000? (Let, 50 wee...

fast 2 Jahre ago

Solved

ASCII Code

Using matlab, give the symbol that is associated with ASCii code 90.

fast 2 Jahre ago

Solved

Roots of a quadratic equation.

Calculate the roots of a quadratic equation, given coefficients a, b, and c, for the equation a*x^2 + b*x + c = 0.

fast 2 Jahre ago

Solved

Make a half wave rectifier

Produce a signal that outputs the given sine wave source when it is greater than zero and outputs zero when it is less than zero...

fast 2 Jahre ago

Solved

Create cotangent function out of sine.

Please, don't use cos, tan, cot matlab functions.

fast 2 Jahre ago