Matlab trong tính toán kỹ thuật

Author
http://meslab.org/mes/picture.php?albumid=119&pictureid=590http://meslab.org/mes/picture.php?albumid=119&pictureid=590

Chương trình Matlab:
clear all; clc;
qs=0; qt=3; b=5; h=10; P=10;
A=0.4; E=1.e+5; I=b*h^3/12;
nut=[1 0 0;2 20 0;3 0 5;4 0 10;5 20 10;6 26 10];
pt=[1 1 3 A E 2.5*I;2 2 5 A E 2.5*I;3 3 4 A E 2.5*I;4 4 5 A E I;5 5 6 A E I];
dk=[1 0;2 0;3 0;4 0;5 0];
luc=[7 P];
lucpb=[1 0 0;2 0 0;3 0 0;4 0 -qt;5 0 -qt];
%--------------------------------------------------------------------------
K=zeros(size(nut,1)*3);
F=zeros(size(nut,1)*3,1);
F(luc:),1))=luc:),2);
%--------------------------------------------------------------------------
for i=1:size(pt,1)
[K,F]=lap_ghep(i,nut,pt,E,A,I,qs,qt,K,F,lucpb)
end
btd=[1:size(nut,1)*3];
btd(dk:),1))=[];
u=(F(btd)-K(btd,dk:),1))*dk:),2))'/K(btd,btd)
cv=zeros(size(nut,1)*3,1);
cv(dk:),1))=dk:),2);
cv(btd)=u;
pl=K*cv-F
cv
%---------------------
-------------------------------------------------
%----------Ve luc doc truc-------------------------------------------------
figure('name','Bieu do luc doc','menubar','none','numbertitle','off')
axis([-10 30 -10 20]);
for i=1:size(pt,1)
f=0;
[cvl,L,x1,x2,y1,y2]=cv_diaphuong(i,nut,pt,cv);
x=0:0.5:L;
for j=1:size(x,2)
s=x(j);
f(j)=pt(i,4)*pt(i,5)*[-1/L 1/L]*cvl([1 4]);
end
ve_bieu_do(f,x,x1,x2,y1,y2,L);
end

%----------Ve moment-------------------------------------------------------
figure('name','Bieu do moment','menubar','none','numbertitle','off')
axis([-10 30 -10 20]);
for i=1:size(pt,1)
f=0;
[cvl,L,x1,x2,y1,y2]=cv_diaphuong(i,nut,pt,cv);
x=0:0.5:L;
for j=1:size(x,2)
s=x(j);
f(j)=pt(i,5)*pt(i,6)*[12*s/L^3-6/L^2 6*s/L^2-4/L 6/L^2-12*s/L^3 6*s/L^2-2/L]*cvl([2 3 5 6]);
f(j)=f(j)-1/12*lucpb(i,3)*(L^2-6*s*L+6*s^2);
end
ve_bieu_do(f,x,x1,x2,y1,y2,L);
end

%----------Ve luc cat------------------------------------------------------
figure('name','Bieu do luc cat','menubar','none','numbertitle','off')
axis([-10 30 -10 20]);
for i=1:size(pt,1)
f=0;
[cvl,L,x1,x2,y1,y2]=cv_diaphuong(i,nut,pt,cv);
x=0:0.5:L;
for j=1:size(x,2)
s=x(j);
f(j)=pt(i,5)*pt(i,6)*[12/L^3 6/L^2 -12/L^3 6/L^2]*cvl([2 3 5 6]);
f(j)=f(j)-lucpb(i,3)*(L-2*s)/2;
end
ve_bieu_do(f,x,x1,x2,y1,y2,L);
end
 
Ðề: Matlab trong tính toán kỹ thuật

Matlab thật sự rất tiện lợi và nhiều công cụ để hỗ trợ cho mô phỏng các thuật toán phức tạp. Nếu bạn nào thích làm mô phỏng trên matlab thì có thể liên hệ với mình để cùng nghiên cứu.
Đây là 1 tutorial sử dụng phương pháp vi phân hữu hạn để mô phỏng flexible manipulator

 
Last edited:
S

soupnazy

Ðề: Matlab trong tính toán kỹ thuật

Các Anh có tài liệu ứng dụng của matlab để giải các bài toán cơ học cho em xin được ko
Mail của em là : ducprok08@gmail.com
Thanks
 
H

hungphuong2006

Ðề: Matlab trong tính toán kỹ thuật

Đây là một collection ebook Matlab.
Bạn nào có nhu cầu thì download về nghiên cứu nhé.
A Guide to MATLAB for Beginners and Experienced Users - Hunt Lipsman & Rosenberg.pdf
A Guide to MATLAB Object-Oriented Programming - Andy H. Register.pdf
Adaptive Filtering Primer with MATLAB - Poularikas and Ramadan.pdf
Advanced Mathematics and Mechanics Applications Using MATLAB - Howard B. Wilson.pdf
Algorithm Collections for Digital Signal Processing Applications using Matlab - E.S. Gopi.pdf
An Introduction to Programming and Numerical Methods in MATLAB - S.R. Otto & J.P. Denier.pdf
Antenna and EM Modeling with MATLAB - Sergey N. Makarov (.m Files).rar
Antenna and EM Modeling with MATLAB - Sergey N. Makarov.pdf
Applied Numerical Methods Using MATLAB - Yang Cao Chung and Morris.pdf
Applied Statistics Using SPSS, STATISTICA, MATLAB and R - Joaquim P. Marques.pdf
Basics of MATLAB and Beyond - Andrew Knight (.m Files).zip
Basics of MATLAB and Beyond - Andrew Knight.pdf
Biosignal and Biomedical Image Processing MATLAB based Applications - John L. Semmlow.pdf
Book List.nfo
Business Economics & Finance with Matlab GIS and Simulation Models - Patrick L.Anderson.pdf
Chemical Process Control a First Course with Matlab - P.C. Chau.pdf
Circuit Analysis II with MATLAB - Steven T. Karris.pdf
Classical Feedback Control with MATLAB - Boris J. Lurie and Paul J. Enright.djvu
Classification Parameter Estimation & State Estimation An Engg Approach Using MATLAB.pdf
Computational Colour Science Using MATLAB - Stephen Westland & Caterina Ripamonti.pdf
Computational Mathematics Models Methods and Analysis with Matlab - Robert E. White.pdf
Computational Statistics Handbook with MATLAB - Martinez & Martinez (.m Files).rar
Computational Statistics Handbook with MATLAB - Martinez & Martinez.pdf
Contemporary Communication Systems using Matlab - Proakis and Salehi.pdf
Digital Circuit Analysis and Design with Simulink Modeling - Steven T. Karris.pdf
Digital Image Processing Using Matlab - Gonzalez Woods & Eddins.pdf
Digital Signal and Image Processing Using MATLAB - Gerard Blanchet & Maurice Charbit.pdf
Digital Signal Processing - Computer Based Approach - Sanjit K. Mitra.pdf
Digital Signal Processing Using Matlab V4 - Ingle and Proakis.pdf
Dynamic Simulations of Electric Machinery - Chee Mun Ong.djvu
Electronic Devices and Amplifier Circuits with MATLAB Applications - Steven T. Karris.pdf
Electronics and Circuit Analysis Using MATLAB - John O. Attia.pdf
Elem. Math. and Comp. Tools for Engineers using MATLAB - J. Manassah.pdf
Embedded Control Systems in C C++ Using MATLAB - Jim Ledin.chm
Embedded Image Processing with DSP Examples in MATLAB - Shehrzad Qureshi.pdf
Engineering Analysis Interactive Methods and Programs with MATLAB - Y. C. Pao.pdf
Engineering and Scientific Computations Using MATLAB - Sergey E. Lyshevski.pdf
Environmental Modeling Using MATLAB - Ekkehard Holzbecher.pdf
Essential MATLAB for Engineers and Scientists - Brian D. Hahn & Daniel T. Valentine.pdf
Exploratory Data Analysis with MATLAB - Martinez and Martinez.pdf
Fundamentals of Electromagnetics with Matlab - Lonngren & Savov.pdf
Graphics and GUIs with MATLAB - Patrick Marchand and O. Thomas Holland .pdf
Introduction to Fuzzy Logic using MatLab - Sivanandam Sumathi and Deepa.pdf
Introduction to MATLAB - Sikander M. Mirza.pdf
Introduction to Simulink with Engineering Applications - Steven T. Karris.pdf
Intuitive Probability and Random Processes Using MatLab - Steven M. Kay.pdf
Kalman Filtering Theory and Practice Using MATLAB - Grewal and Andrews.pdf
List.xls
MathWorks Documentation - MATLAB V7 Function References.pdf
MathWorks Documentation - MATLAB V7 Introductory and Programming.pdf
MATLAB Guide - Desmond J. Higham & Nicholas J. Higham.djvu
MATLAB Primer (6th Ed) - Kermit Sigmon & Timothy A. Davis.pdf
MATLAB Primer (7th Ed) - Timothy A. Davis & Kermit Sigmon.pdf
MATLAB Programming - David Kuncicky.pdf
MATLAB Recipes for Earth Sciences - M.H.Trauth.pdf
MATLAB Simulations for Radar Systems Design - Bassem R. Mahafza & Atef Z. Elsherbeni.pdf
Mechanics of Composite Materials with MATLAB - George Z. Voyiadjis & Peter I. Kattan.pdf
Numerical Analysis Using MATLAB and Excel - Steven T. Karris.pdf
Numerical Analysis Using MATLAB and Spreadsheets - Steven T. Karris.pdf
Numerical Computing with MATLAB - Cleve Moler (.m Files).rar
Numerical Computing with MATLAB - Cleve Moler.pdf
Numerical Methods in Engineering with MATLAB - Jaan Kiusalaas.pdf
Numerical Methods in Finance & Economics A MATLAB based Introduction - Paolo Brandimarte.pdf
Numerical Methods using MATLAB - Mathews and Fink.pdf
Numerical Techniques for Chemical & Biological Engineers Using MATLAB - Elnashaie & Uhlig.pdf
Optical Scanning Holography with MATLAB - Ting Chung Poon.pdf
Optics Learning by Computing with Examples using MATLAB - K.D. Moller.pdf
Ordinary and Partial Differential Equation Routines in Matlab - H.J. Lee & W.E. Schiesser.pdf
Radar Systems Analysis and Design Using MatLab - Mahafza Bassem R.pdf
Robust Control Design with Matlab - Gu Petkov and Konstantinov.pdf
Scientific Computing with Matlab - Alfio Quarteroni & Fausto Saleri.djvu
Scientific Computing with Matlab and Octave - Alfio Quarteroni & Fausto Saleri.pdf
Signals and Systems with MATLAB Applications - Steven T. Karris.pdf
Signals and Systems with MATLAB Computing and Simulink Modeling - Steven T. Karris.pdf
Solving ODEs with MATLAB - Shampine Gladwell Thompson.pdf
Solving ODEs with Matlab Instructors Manual - L.F. Shampine (.m Files).rar
Solving ODEs with Matlab Instructors Manual - L.F. Shampine.pdf
Spectral Methods in MATLAB - Lloyd N. Trefethen.pdf
The Finite Element Method using MATLAB - Kwon and Bang.pdf
Torrent downloaded from Demonoid.com.txt
Vibration Simulation Using MATLAB and ANSYS - Michael R Hatch.pdf


Link download:
http://www.mediafire.com/?jig5rc2ggzw
http://www.mediafire.com/?2tuqjlm5qdm
http://www.mediafire.com/?ygqzykzqnfy
http://www.mediafire.com/?ygqzykzqnfy
http://www.mediafire.com/?ylmijmzgq3a
http://www.mediafire.com/?ihanmenzmkl
http://www.mediafire.com/?td3jjtzzjgz
http://www.mediafire.com/?jtyhhdqmum3
http://www.mediafire.com/?nwnyzye3hzz
 
Last edited by a moderator:
B

BAHUNG210

Ðề: Matlab trong tính toán kỹ thuật

Thấy mọi người trao đổi sôi nổi, mình thẹn quá, cũng là dân kỹ thuật mà nay mới đụng tới matlap, mò hoài không ra nên nhờ anh em giúp mình:
:105: Help!
Mình muốn vẽ biểu đồ nội lực của phần tử dầm (lực cắt, moomen, góc xoay, độ võng) của dầm 2 phần tử :
ví dụ Có dầm gồm 2 phần tử
- Tọa độ nút dầm, x=[0 100 300]
- Chiều dài các phần tử
L =[100 200]
- Mô men quán tính các phần tử
I =[5000000 75000000]
- Lực phân bố trên từng phần tử
q = 1.0e+006 *[0.7693 2.3079]
Ta tính được
- Véc tơ chuyển vị và góc xoay:
d=[0 0.0007 0.0446 -0.0001 0 -0.0003]
- Véc tơ lực cắt
Qn =1.0e+008 *[-1.7284 0.8642 1.7284 -0.8642]
- Véc tơ mô men
Mn = 1.0e+010 *[ 0.0641 2.4977 -1.7925 -0.7693]

Tôi muốn vẽ đồ thị độ võng, lực cắt, góc xoay của dầm trên.

Tôi có tìm hiểu trên sách phần tử hữu hạn:
Hàm độ võng cho từng phần tử :
V(x)= [N]*{de}+q/24EIe(x^4-2Lex^3+Le^2x^2)
[N] là véc tơ hàm dạng
{de} là véc tơ chuyển vị nút phần tử
với [N]=[Nvi Npi Nvj Npj]
Nvi =1-(3x^2/Le^2)+2x^3/Le^3
Npi=x-(2x^2/Le)+x^3/Le^2
Nvj=(3x^2/Le^2)+2x^3/Le^3
Npj=-x^2/Le+x^3/Le^2
Hàm mô men là đạo hàm bậc 2 theo x của hàm độ võng
Mn=EI*(d^2V(x)/d(x^2))
Hàm lực cắt là đạo hàm bậc 3 theo x của hàm độ võng
Qn=EI*(d^3V(x)/d(x^3))
Tôi không biết vẽ đồ thị theo các hàm này hay vẽ theo kiểu nội suy bậc 4 theo các giá trị đã biết.
Do còn lạ với mấy cái này, mà tìm tài liệu cũng không thấy nên nhờ các anh em hướng dẫn.
cảm ơn nhiều!
 
Top