Community Profile # Daniel Lee

Active since 2015

#### Statistics

• • • • • #### Content Feed

View by

Solved

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

6 years ago

Problem

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

6 years ago | 0 | 133 solvers

Problem

UICBioE240 2.8
Convert x number of hours into seconds.

6 years ago | 1 | 149 solvers

Problem

UICBioE240 2.7
Given x1 and x2, create a 3x3x3 matrix Y where (:,:,1) has all values of x1*x2, (:,:,2) has all values of x1-x2, and (:,:,3) has...

6 years ago | 0 | 31 solvers

Problem

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

6 years ago | 1 | 150 solvers

Problem

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

6 years ago | 0 | 136 solvers

Problem

UICBioE240 2.1
This will be useful later in the course, in conjunction to clc and clear all, what is the command to close all figure windows th...

6 years ago | 1 | 159 solvers

Solved

Say something funny
Say something funny, or not. Your solution will be (fully automatically and objectively) scored based on how clever or funny ...

6 years ago

Problem

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.

6 years ago | 1 | 157 solvers

Problem

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

6 years ago | 1 | 132 solvers

Problem

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

6 years ago | 1 | 139 solvers

Problem

UICBioE240 problem 1.15
Calculate: sin(pi/6) cos (pi) tan(pi/2)

6 years ago | 0 | 123 solvers

Problem

UICBioE240 problem 1.14
Solve 3^x = 17

6 years ago | 1 | 126 solvers

Problem

UICBioE240 problem 1.12
The mathematical quantities e^x, ln x and log x are calculated using the expression exp(x), log(x) and log10(x) respectively. ...

6 years ago | 0 | 70 solvers

Problem

UICBioE240 problem 1.11
Store a series of numbers into a 4 by 4 matrix, starting with the first few positions going right and down, and leaving the rest...

6 years ago | 0 | 5 solvers

Problem

UICBioE240 problem 1.10
Find the number of cells in a bioreactor after a given time when doubling time is dd and initial number of cells is x. So if ...

6 years ago | 1 | 101 solvers

Problem

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

6 years ago | 0 | 99 solvers

Problem

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

6 years ago | 1 | 104 solvers

Problem

UICBioE240 problem 1.7
Find the other two angles of a right triangle given the two of the sides. So if A = [1 1] B = [45 45]

6 years ago | 1 | 73 solvers

Problem

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)

6 years ago | 0 | 144 solvers

Problem

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

6 years ago | 0 | 130 solvers

Problem

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

6 years ago | 1 | 142 solvers

Problem

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

6 years ago | 1 | 165 solvers

Problem

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

6 years ago | 2 | 168 solvers

Problem

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

6 years ago | 1 | 115 solvers

Problem

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.

6 years ago | 0 | 134 solvers

Solved

Most nonzero elements in row
Given the matrix a, return the index r of the row with the most nonzero elements. Assume there will always be exactly one row th...

6 years ago

Solved

Weighted average
Given two lists of numbers, determine the weighted average. Example [1 2 3] and [10 15 20] should result in 33.333...

6 years ago

Solved

Find all elements less than 0 or greater than 10 and replace them with NaN
Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN. Example: Input ...

6 years ago

Solved

Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

6 years ago