Gelöst


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

fast 10 Jahre vor

Gelöst


UICBioE240 problem 1.4
So if A = [ 1 2 3; 4 5 6; 7 8 9] B = [ 3 3]

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


UICBioE240 problem 1.14
Solve 3^x = 17

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


UICBioE240 2.2
Make a 3x4 matrix that contains all ones.

fast 10 Jahre vor

Gelöst


UICBioE240 problem 1.16
sin^2(pi/6) + cos^2(pi/6)

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


UICBioE240 2.8
Convert x number of hours into seconds.

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


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 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


Sum of integers numbers
Sum of the numbers from 1 to 100

fast 10 Jahre vor

Gelöst


Your favourite city!
Type your favourite city.

fast 10 Jahre vor

Gelöst


Conversion from hours to mili sec
Convert given input in hours to mili seconds

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


How many digits are there?
Input(s) - any string Output(n) - number of digits within string s

fast 10 Jahre vor

Mehr laden