Question

In: Mechanical Engineering

Matlab code fr natural frequency of lateral vibration of beams...using PDE solver method

Matlab code fr natural frequency of lateral vibration of beams...using PDE solver method

Solutions

Expert Solution

ndof = 8 ;

ne = 3 Kg = zeros(ndof) ;

for n = 1: ne %

Form the upper triangular portion of

Kg d1 = 2*n-1; d2 = 2*n; d3 = 2*n+1;

d4 = 2*n+2; Kg(d1,d1) = Kg(d1,d1) +k1;

Kg(d1,d2) = Kg(d1,d2) +k2 ;

Kg(d1,d3) = Kg(d1,d3) - k1;

Kg(d1,d4) = Kg(d1,d2) +k2 ;

Kg(d2,d2) = Kg(d2,d2) +k3;

Kg(d2,d3) = Kg(d2,d3) -k2 ;

2 Kg(d2,d4) = Kg(d2,d4) +k4;

Kg(d3,d3) = Kg(d3,d3) +k1;

Kg(d3,d4) = Kg(d3,d4) - k2 ;

Kg(d4,d4) = Kg(d4,d4) +k3;

end

end

Complete the Kg matrix for i = 2:

ndof for j = i+1 to ndof Kg(j,i) = Kg (i, j) ;


Related Solutions

Matlab code for resonant frequency of coaxial cable
Matlab code for resonant frequency of coaxial cable  
matlab code of Free Vibration Response of the System as a Continuous/ Distributed/Infinite DOF System
matlab code of Free Vibration Response of the System as a Continuous/ Distributed/Infinite DOF System
matlab code that performs overlap add method.
matlab code that performs overlap add method.
write a matlab code of current distribution in wire antenna using method of moments (pocklington)
write a matlab code of current distribution in wire antenna using method of moments (pocklington)
For a 1DOF system, how many natural frequency (frequencies) does it have? How many vibration(s) could...
For a 1DOF system, how many natural frequency (frequencies) does it have? How many vibration(s) could it possibly have?
Implement the steffenson method in matlab. The code must be in MATLAB DOnt answer if you...
Implement the steffenson method in matlab. The code must be in MATLAB DOnt answer if you cannot give correct MATLAB
Solve using matlab code!! Use the graphical method to solve 4x1 − 8x2 = −24 x1...
Solve using matlab code!! Use the graphical method to solve 4x1 − 8x2 = −24 x1 + 6x2 = 34 Check your results by substituting them back into the equations.(include this on the code)
Create a Linear Program solver using Matlab or Python. Prompt variable and constraint entry.
Create a Linear Program solver using Matlab or Python. Prompt variable and constraint entry.
Design Rectangular array antenna in HFSS software or 5Ghz frequency and MATLAB CODE FOR IT. need...
Design Rectangular array antenna in HFSS software or 5Ghz frequency and MATLAB CODE FOR IT. need all the output waveform regarding that Design microstrip array antenna in HFSS software and MATLAB CODE FOR IT. IF YOU KNOW THEN ONLY DO OR ELSE LEAVE FOR OTHER ANTENNA ,ELECTRICAL ENGINEERING
The following code must be written using matlab How to loop through a vector in matlab...
The following code must be written using matlab How to loop through a vector in matlab and assigning a value to every 4th entry. The vector could be of any length. Thanks
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT