M = diag([1 1 2]);K = [2 -1 0;-1 3 -2;0 -2 2];setmdof(M,K)
That is my Matlab script, but the function "setmdof" is not recognized. Can some one tell me how to solve this problem?
undefined function or variable
M = diag([1 1 2]);K = [2 -1 0;-1 3 -2;0 -2 2];setmdof(M,K)
Best Answer