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年弱 前
解決済み
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年弱 前
解決済み
UICBioE240 2.2
Make a 3x4 matrix that contains all ones.
6年弱 前
解決済み
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...
6年弱 前
解決済み
UICBioE240 2.3
Make a 4D matrix of 4x4x3x4 containing all zeros.
6年弱 前
解決済み
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.
Binary code (array)
Write a function which calculates the binary code of a number 'n' and gives the result as an array(vector).
Example:
Inpu...
6年弱 前
解決済み
There are 10 types of people in the world
Those who know binary, and those who don't.
The number 2015 is a palindrome in binary (11111011111 to be exact) Given a year...
6年弱 前
解決済み
Bit Reversal
Given an unsigned integer _x_, convert it to binary with _n_ bits, reverse the order of the bits, and convert it back to an inte...
6年弱 前
解決済み
Find out sum and carry of Binary adder
Find out sum and carry of a binary adder if previous carry is given with two bits (x and y) for addition.
Examples
Previo...
Calculate correlation.
There are two data.
y1=[0 1 2 3 4]'
y2=[2 3 4 5 6]'
We can see positive relationship between y1 and y2. The relations...
6年弱 前
解決済み
Calculate solution of given polynomial
For example,
y=function([3 -2 -4])
In here, input vector indicate 3*x^2-2*x-4, y is solution of former equation.
y=[1.5...