Resuelto


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)

más de 3 años hace

Resuelto


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

más de 3 años hace

Resuelto


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

más de 3 años hace

Resuelto


UICBioE240 2.8
Convert x number of hours into seconds.

más de 3 años hace

Resuelto


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

más de 3 años hace

Resuelto


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

más de 3 años hace

Resuelto


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

más de 3 años hace

Resuelto


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.

más de 3 años hace

Resuelto


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

más de 3 años hace

Resuelto


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

más de 3 años hace

Resuelto


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

más de 3 años hace

Resuelto


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

más de 3 años hace

Resuelto


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

más de 3 años hace

Resuelto


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.

más de 3 años hace

Resuelto


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

más de 3 años hace

Resuelto


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

más de 3 años hace

Resuelto


Degrees to Radian
Convert degrees to radians

más de 3 años hace

Resuelto


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

más de 3 años hace

Resuelto


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

más de 3 años hace

Resuelto


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

más de 3 años hace

Resuelto


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.

más de 3 años hace

Resuelto


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

más de 3 años hace

Resuelto


Radians to Degrees
Convert radians to degrees.

más de 3 años hace

Resuelto


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

más de 3 años hace

Resuelto


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)

más de 3 años hace

Resuelto


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

más de 3 años hace

Resuelto


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

más de 3 años hace

Resuelto


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

más de 3 años hace

Resuelto


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

más de 3 años hace

Resuelto


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.

más de 3 años hace

Cargar más