Gelöst


rounding numbers toward zero
round any number toward zero ex. 4.5=4 4.7=4 5.2=5

fast 11 Jahre vor

Gelöst


MATLAB Basic: rounding IV
Do rounding towards plus infinity. Example: -8.8, answer -8 +8.1 answer 9 +8.50 answer 9

fast 11 Jahre vor

Gelöst


Big Integer Multiplication
Implement big integer multiply. Input: A, B : N-by-M Matrix, each row represents a positive decimal integer. Output: ...

fast 11 Jahre vor

Gelöst


Back to Basics - Find no. of elements in a matrix?
Let A be a m*n matrix. Find the total no. of elements in A ? (Hint - formula based) A = [1 2 3;4 5 6]; output = 6

fast 11 Jahre vor

Gelöst


Find the Final State of an Abelian Sandpile
Let us define an <http://nautil.us/issue/23/dominoes/the-amazing-autotuning-sandpile Abelian sand pile> as a matrix that is only...

fast 11 Jahre vor

Gelöst


Singleton Expansion without BSXFUN
BSXFUN is very useful and fast. In R2015b we can implement singleton expansion without BSXFUN, see the test suite for details...

fast 11 Jahre vor

Gelöst


Can't wait for NewYear ball drop !
Given an input string of the form 'yyyy-mm-dd' or 'yyyy-mm-dd hh:mm:ss', return a string message indicating how many days, hours...

fast 11 Jahre vor

Gelöst


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

fast 11 Jahre vor

Gelöst


Cumulative maximum of an array
Find the cumulative maximum of an array without using the built-in function <http://www.mathworks.com/help/matlab/ref/cummax.htm...

fast 11 Jahre vor

Gelöst


Cumulative minimum of an array
Find the cumulative minimum of an array without using the built-in function <http://www.mathworks.com/help/matlab/ref/cummin.htm...

fast 11 Jahre vor

Gelöst


Triangular matrices in 3D array
Given a 3D numeric array _x_, return an array _y_ of the same size in which all entries to the right of the main diagonal are ze...

fast 11 Jahre vor

Gelöst


Moore-Penrose pseudoinverse of matrix
Find the command for Moore-Penrose pseudoinverse of matrix and solve

fast 11 Jahre vor

Gelöst


Change number representation to HEX
Given a number change it's representation to HEX and output it.

fast 11 Jahre vor

Gelöst


Derivative function
Given a function handle f, generate a function that evaluates the derivative of f Examples: f = @sin; df = De...

fast 11 Jahre vor

Gelöst


Produce the following matrix
Produce the following matrix x = [2 3 4] y_correct = [1 1/2 1/3; 2 1 1/4; 3 4 1];

fast 11 Jahre vor

Gelöst


Divide elements by sum of elements
In this problem, I ask you to write a function which will divide the elements of each column by the sum of the elements of the s...

fast 11 Jahre vor

Gelöst


Create cell array of strings
Convert the input to a cell array, but only if necessary. If the input is a string, return a 1-by-1 cell array containing the...

fast 11 Jahre vor

Gelöst


Create cell array of numeric arrays
Convert the input to a cell array, but only if necessary. If the input is a numeric array, return a 1-by-1 cell array contain...

fast 11 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 11 Jahre vor

Gelöst


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

fast 11 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 11 Jahre vor

Gelöst


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)

fast 11 Jahre vor

Gelöst


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]

fast 11 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 11 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 11 Jahre vor

Gelöst


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

fast 11 Jahre vor

Gelöst


UICBioE240 problem 1.14
Solve 3^x = 17

fast 11 Jahre vor

Gelöst


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

fast 11 Jahre vor

Gelöst


Create a figure and plot data
Given two data vectors (x,y), open a new figure and plot the data. Return the figure handle.

fast 11 Jahre vor

Gelöst


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

fast 11 Jahre vor

Mehr laden