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 een jaar ago

Solved


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

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

meer dan een jaar ago

Solved


UICBioE240 2.8
Convert x number of hours into seconds.

meer dan een jaar ago

Solved


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

meer dan een jaar ago

Solved


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

meer dan een jaar ago

Solved


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

meer dan een jaar ago

Solved


UICBioE240 problem 1.18
exp(pi/5*i) and exp(pi/5i). Is there any difference in result? Write yes or no as a string.

meer dan een 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 een jaar ago

Solved


UICBioE240 problem 1.3
Find the length of a vector. So if A = [1 1 1 1 1] Then B = 5

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

meer dan een jaar ago

Solved


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

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

meer dan een jaar ago

Solved


Matrix Indexing
Given a matrix A and scalars r,c,i, find the product of two elements, with the first element located at row r and column c (doub...

meer dan een jaar ago

Solved


Degrees to Radian
Convert degrees to radians

meer dan een jaar ago

Solved


Energy-Mass Equivalence
Given input enegy of the object, E, and constant c = 300,000,000, find the mass of the object.

meer dan een jaar ago

Solved


find the mean of all elements in a matrix
given a matrix, just find the mean of all elements in the matrix

meer dan een jaar ago

Solved


Rankine to Celsius Converter
Given input R, degrees Rankine, convert into degrees Celsius.

meer dan een jaar ago

Solved


Find the last digit
FInd the last digit of a given number. Given number is the input and output should be the last digit of that number.

meer dan een jaar ago

Solved


Sum of the Multiplication of Vectors
Given the vectors x and y as input, multiply the vectors and return the summation of its elements. Example: x = [1 2 ...

meer dan een jaar ago

Solved


Radians to Degrees
Convert radians to degrees.

meer dan een jaar ago

Solved


Area of square
Find the area of a square whose diagonal length is given as x.

meer dan een 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)

meer dan een jaar ago

Solved


intervals
Write a function that takes an interval from a to b, and divides it into 6 parts.

meer dan een jaar ago

Solved


Fill a zeros matrix (★★★★★)
(Copy of Problem 830) The aim is to fill an array of all zeros given a numerical value and the index of row and columns for t...

meer dan een jaar ago

Solved


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

meer dan een jaar ago

Solved


sum all digits
input = 123456789, output = 1+2+3+4+5+6+7+8+9 = 45

meer dan een 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 een jaar ago

Load more