
A few useful MATLAB functions
... These functions also act on vectors and arrays. For example, to get a 3-by-3 matrix A with independent random entries drawn from {1, 2, 3, . . . , k} with equal probabilities, we can use x=rand ; A=ceil(k*x). If we want to draw from {0, 1, 2, . . . , k − 1} we can use floor instead of ceil. Exercise ...
... These functions also act on vectors and arrays. For example, to get a 3-by-3 matrix A with independent random entries drawn from {1, 2, 3, . . . , k} with equal probabilities, we can use x=rand ; A=ceil(k*x). If we want to draw from {0, 1, 2, . . . , k − 1} we can use floor instead of ceil. Exercise ...
Conformational Space
... where ||ai-bi|| denotes the Euclidean distance between ai and bi in 3 RMSD(A,B) = 0 iff ai = bi for all i ...
... where ||ai-bi|| denotes the Euclidean distance between ai and bi in 3 RMSD(A,B) = 0 iff ai = bi for all i ...
The Smith Normal Form of a Matrix
... Each of these operations has an inverse operation that undoes the given operation. For example, if we multiply a row by a unit u ∈ R, then we can undo the operation by multiplying the row by u−1 . Similarly, if we add α times row i to row j to convert a matrix A to a new matrix B, then we can undo t ...
... Each of these operations has an inverse operation that undoes the given operation. For example, if we multiply a row by a unit u ∈ R, then we can undo the operation by multiplying the row by u−1 . Similarly, if we add α times row i to row j to convert a matrix A to a new matrix B, then we can undo t ...