Solved

UICBioE240 problem 1.2

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

5 years 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; ...

5 years ago

Solved

UICBioE240 problem 1.8

Given a list of grades in a class, write a script that gives the 2nd highest grade in the class and the average for the class. ...

5 years ago

Solved

UICBioE240 problem 1.9

Swap the first and last columns of a matrix. So if A = [12 4 7; 5 1 4]; B = [7 4 12; 4 1 5]; ...

5 years ago

Solved

UICBioE240 problem 1.12

The mathematical quantities e^x, ln x, and log x are calculated in Matlab using the expressions exp(x), log(x), and log10(x), re...

5 years ago

Solved

UICBioE240 problem 1.17

In the expression (2+5i), how does MATLAB read the expressions A = 2+5i B = 2+5*i C = both are okay Write capital letter a...

5 years ago

Solved

UICBioE240 2.7

Given two 3-element vectors x1 and x2, create a 3 x 3 x 3 matrix Y where (:,:,1) has all values of x1 * x2, (:,:,2) has all valu...

5 years ago

Solved

UICBioE240 2.10

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

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

5 years ago

Solved

Matlab Basics II - Extract last 3 elements of a vector

Let x be a vector of unknown length, we are always interested in the last 3 numbers in the vector, write a function that gives t...

5 years ago

Solved

Finding an element in a vector

x is a vector of unknown length your function should return the index of the first element in the vector that is greater than...

5 years ago

Solved

Power The Product

EXAMPLE: INPUT x=10 & y=10 OUTPUT z=1000000 or, INPUT x=2 & y=3 OUTPUT z= 216 you just need to calculate the product first...

5 years ago

Solved

index of n^2 in magic(n)

input=5 magic matrix 17 24 1 8 15 23 5 7 14 16 4 6 13 20 22 10 ...

5 years ago

Solved

Convert given decimal number to binary number.

Convert given decimal number to binary number. Example x=10, then answer must be 1010.

5 years ago

Solved

UICBioE240 problem 1.1

Remove the middle row from a matrix, assuming # of rows is odd. So if A = [ 1 2 3; 4 5 6; 7 8 9] the...

5 years ago

Solved

Find the area of a triangle

Given a triangle with a base b and height h, return the triangle area.

5 years ago

Solved

Test if a matrix is symmetric

Write a logical function that returns 1 if the input matrix is symmetric and 0 otherwise.

5 years ago

Solved

Special Relativity 101.

Special relativity states that the effective mass of an object varies as a function of its velocity. If *c* is the speed of ligh...

5 years ago

Solved

Skip by a multiple

Given an integer create an array of its multiples. Array must have a length of 15

5 years ago

Solved

Power of n ?

Determine if _x_ (positive integer) is a power of _n_, return true or false accordingly.

5 years ago

Solved

How many digits are there?

Input(s) - any string Output(n) - number of digits within string s

5 years ago