gistlib
other matlab categories
matrices code snippets in matlab
% create a matrix of any size that asks for rows and column where the first row is one and th last row is 0 in matlab
add column to matrix in matlab
at=b matrix form in matlab
average 2 rows of a matrix in matlab in matlab
calculate a n dimensional jacobian matrix without the symbolic toolbox in matlab
calculate the standard deviation of a matrix using for loops in matlab
collect ten input matrix 784x1 and store it like 784x10 in matlab
collect ten matrix 784x1 and store it like 784x10 in matlab
compute eigenvalues of a matrix in matlab
compute the smith normal form of a symbolic matrix in matlab
construct a matrix with element to be the sum in matlab
create a 2d matrix that makes any values of the elements in the first row are equal to the column number in matlab
create a 5 by 3 matrix, that starts 1-2, then doubles each column in matlab
create a for loop for a matrix of any size that asks for rows and column where the first row is one and the last row is 0 in matlab in matlab
create a for loop sure that creates a matrix so that the second column from the left & second column from the right are equal to the column number in matlab
create a for loop that makes a 5 by 3 matrix then doubles each column in matlab in matlab in matlab
create a for loop that will matrix multiply two 3 by 3 matrices in matlab
create a matrix in matlab
create a matrix making sure that the second column from the left & second column from the right are equal to the column number in matlab
create a matrix of 3 vectors that all have norm 1 in matlab
create a matrix of any size that asks for rows and column. the first row is one and last row is 0 in matlab
create a matrix of random 3-vectors that all have norm 1 in matlab
create a matrix using nesteed loop in matlab
create a matrix with only pi and size 3x3 in matlab
create a rotation matrix for a 4d object given an input of the angle of rotation about a specified axis in matlab
design the function function out = x_m(x,m) with input data matrix x of size 𝑁 × 𝑑 hat produces the data matrix of size 𝑁 × (𝑀 + 1) in matlab
display last column in matrix in matlab
display last column in matrix with fprintf in matlab
display the elements of a matrix a with elements form 1 to 100 that are divisible by 7 in matlab using for loop and if function in matlab
element wise multiplication of two matrices in matlab
elementwise matrix multiplication in matlab
find correlations in my matrix in matlab
find intersection of two lines in hesse form in matlab
find negative elements in matrix and keep their values in matlab
find negative numbers in a matrix in matlab
find rref for augmented matrix in matlab
find rref for matrix a = [1 2 3 4 ; 2 3 4 5 ; 3 4 5 6; 1 2 0 1]; b = [0 0 0 0]'; in matlab
find the coordinates of the largest value in a matrix in matlab
find the location of the max of a matrix when another matrix equals 0 in matlab
find the max of a matrix when another matrix equals 1 in matlab
find third quartile of matrix in matlab
for loops for matrix standard deviation in matlab
for loops to calculate standard deviation in a matrix in matlab
generate a circulant matrix from a vector v in matlab
generate a hadamard matrix of order 28 in matlab in matlab
generate a hadamard matrix of order 32 in matlab
generate random matrix with selected determinant in matlab
get inverse matrix in matlab
get the rref of a matrix in matlab
how many combinations are in a rubix cube in matlab
how to add multiple matrices in matlab
how to append a matrix in matlab
how to calculate the column space of a matrix in matlab
how to calculate the determinant of a matrix in matlab
how to calculate the eigenvalues of a matrix in matlab
how to calculate the eigenvectors of a matrix in matlab
how to calculate the image of a matrix in matlab
how to calculate the kernel of a matrix in matlab
how to calculate the left kernel of a matrix in matlab
how to calculate the left null space of a matrix in matlab
how to calculate the lu decomposition of a matrix in matlab
how to calculate the maximum of a matrix in matlab
how to calculate the mean distance between an array of points in matlab? in matlab
how to calculate the null space of a matrix in matlab
how to calculate the product of a matrix in matlab
how to calculate the qr decomposition of a matrix in matlab
how to calculate the range of a matrix in matlab
how to calculate the rank of a matrix in matlab
how to calculate the right null space of a matrix in matlab
how to calculate the row space of a matrix in matlab
how to calculate the trace of a matrix in matlab
how to calculate the transpose of a matrix in matlab
how to call on a specific value in matlab
how to change the diagonal of a matrix 3x3 with a vector with 3 elements in matlab
how to change the diagonal of a matrix 3x3 with a vector with 3 elements using a loop to create the vectorin matlab in matlab
how to change the diagonal of a matrix to be the sum of its position on row and column in matlab
how to create a system of 3 equations in matlab
how to define an extended matrix in matlab
how to do back substitution in matlab
how to matrix index in matlab in matlab
how to matrix multiply in matlab
how to put rows of a matrix into a indidual cell array in matlab in matlab
how to read a part of a table data in matlab
how to replace a number in a matrix with another number in matlab
how to search a cell matrix for a empty row in matlab
how to turn nonzero elements in matrix to 1 in matlab
how to write a 3x3 matrix in matlab
how to write a tri diagonal solver in matlab
how to write echelon form in matlab
if a matrix equals zero, find the location of the max in another matrix in matlab
linearize a second-order system without symbolic math toolbox, partial differential equation toolbox or simulink control design in matlab
location of max of a matrix in matlab
make a matrix in matlab
make a matrix making sure that the second column from the left and second column from the right are equal to the column number in matlab
make a random 100-by-100 matrix in matlab
make a random 250-by-100 matrix in matlab
matrix of size 25x2 in matlab
matrix, with the following pixel colors: [white red black; cyan green yellow; black blue white] in matlab
multiply two matrices in matlab
original matrix with the rows and columns reversed in matlab
output a 4d rotation matrix given as input a 4d array of rotation angles in matlab
output a 4d rotation matrix given as input a rotation angle specified as a 4 dimensional input array in matlab
output a 4d rotation matrix given as input a rotation angle specified as a 4 element array in matlab
pascal matrix in matlab
produces the data matrix in matlab
quadrant 2 will be the original matrix with each row reversed in matlab
quadrant 3 will be the original matrix with each column reversed in matlab
quadrant 3 will be the original matrix with each row reversed in matlab
r = 0; for y=1:2:5 r=r+3; end in matlab
random 64x64 matrix in matlab
reduce the dimensions of a matrix by averaging a range of columns with the range getting progressively larger. in matlab
remove final row and column from matrix in matlab
remove item from array in matlab
remove reoccuring numbers in matrix in matlab
replace last row of a matrix in matlab
reshape matrix size 25x2 to matrix size 25x1x1 in matlab
reshape matrix size [25x2] to [1x1x15] in matlab
reshape matrix to 768x10 in matlab
rotate a 4d matrix about each axis by an amount specified in radians in a 4-element input array in matlab
rref of an augmented matrix without using rref command in matlab
save ten vectors to matrix in matlab
save ten vectotors 784x1 in martix 784x10 in matlab
skew symmetric matrix in matlab
skew symmetric matrix from vector in matlab
solve the point of intersections. save the array of solutions as roots. in matlab
standard deviation in matlab
the function mat2coord should take an n × n array representing a matrix a ∈ r n×n and return the sparse coordinate representation encoded by the three arrays, d, ridx, and cidx in matlab
use for loops in a matrix to calculate mean in matlab
use for loops that will matrix multiply two 3 by 3 matrices in matlab in matlab
using for loops find the mean of rows and columns of a matrix without using the mean command in matlab
write a program that performs the transformation of points induced by a matrix in matlab
gistlib
by LogSnag