Solved

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

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

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

meer dan 3 jaar ago

Solved

UICBioE240 2.3
Make a 4D matrix of 4x4x3x4 containing all zeros.

meer dan 3 jaar ago

Solved

Spherical Volume
Calculate the volume of a sphere.

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

meer dan 3 jaar ago

Solved

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

meer dan 3 jaar 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]

meer dan 3 jaar ago

Solved

modulus of a number
find the modulus of a given number

meer dan 3 jaar 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

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

meer dan 3 jaar ago

Solved

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

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

meer dan 3 jaar ago

Solved

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

meer dan 3 jaar ago

Solved

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

meer dan 3 jaar ago

Solved

MATLAB Basic: rounding II

meer dan 3 jaar ago

Solved

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

meer dan 3 jaar ago

Solved

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

meer dan 3 jaar 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

meer dan 3 jaar ago

Solved

factorial of a number x
Factorial of a number x

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

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

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

meer dan 3 jaar ago

Solved

Log of a number
Write a script that will give the log of x as output.

meer dan 3 jaar ago

Solved

ASCII code of a leter.
Given the letter, the output will show the corresponding ASCII code.

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

meer dan 3 jaar ago

Solved

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

meer dan 3 jaar ago

Solved

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

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

meer dan 3 jaar ago

Solved

Create cotangent function out of sine.
Please, don't use cos, tan, cot matlab functions.

meer dan 3 jaar ago