Gistlib Logo

gistlib

a 4x4 stiffness matrix 𝑲 is given as: 𝑲 = [12 −4 −2 0 −4 10 −3 1 −2 −3 5 −1 0 1 −1 6 ]extract the third column of 𝑲 and transpose it, save it as l. in matlab

main.m
K = [12, -4, -2, 0; -4, 10, -3, 1; -2, -3, 5, -1; 0, 1, -1, 6];
l = K(:, 3)';
78 chars
3 lines

similar matlab code snippets

recursively split an array about the median value in matlab
how to calculate the binomial distribution in matlab
how to calculate the 99th percentile in matlab
how to calculate cumulative distribution function in matlab
how to perform a ztest in matlab
how to calculate the normal distribution in matlab
how to plot the binomial distribution in matlab
calculate the area of a triangle in matlab
calculate the area of a sphere in matlab
find the slope of a set of points in matlab

related categories

matlab
array-manipulation

gistlibby LogSnag