SlideShare a Scribd company logo
Introduction to FreeMat
Dr. Mohammad Tawfik
Mohammad.tawfik@gmail.com

Introduction to FreeMat
In this workshop we will cover the
following
•
•
•
•
•
•
•
•

Using FreeMat as a numerical calculator
Entering row vectors and column vectors
Entering matrices
Forming matrix and vector products
Doing matrix products, sums etc
Using FreeMat to solve linear equations
FreeMat functions that operate on arrays
Plotting basic graphs using FreeMat.
Introduction to FreeMat
What is MATLAB ?
MATLAB started as an interactive program for
doing matrix calculations and has now grown
to a high level mathematical language that
can solve integrals and differential equations
numerically and plot a wide variety of two and
three dimensional graphs. MATLAB also
contains a programming language.

Introduction to FreeMat
What is FreeMat?
• FreeMat is an open source software package
that provides all the basic functions of
MATLAB
• It lacks the sophisticated toolboxes provided
by the MATLAB, but it works perfectly if you
use basic functions!

Introduction to FreeMat
How to get started?

Introduction to FreeMat
Simple arithmetic with Matlab

Introduction to FreeMat
Simple arithmetic with Matlab

Introduction to FreeMat
Try These!

Introduction to FreeMat
The order of operations
• If you are using brackets, that will save you a
lot of effort!
• However, the operators have precedence!
1.
2.
3.
4.

“( )” brackets
“^” Power
“* /” Multiplication and division
“+ -” Addition and subtraction

Introduction to FreeMat
Variable names
• Variable may have names that consist of
characters and digits, but they can not start
with a number!
• Matlab distinguishes between lower and
upper cases - so A and a are different objects
• Only the first 19 characters in a variable name
are important.

Introduction to FreeMat
Try this!

• You have just created two vectors, x & y!
• Now try some operations on them! (multiply
by a constant, use sin(x), sqrt(x), exp(x), …

Introduction to FreeMat
Try this!

Introduction to FreeMat
This is your first plot!

Introduction to FreeMat
How about this?

Introduction to FreeMat
Now, you know how to create a
plot of your data!

Introduction to FreeMat
Matrix Operations
• Try these:

Introduction to FreeMat
Another way of creating a vector

• You may try to multiply, add, or invert those
matrices!

Introduction to FreeMat
Matrix Inversion
• Matrix inversion is performed using the
function:
inv();

Introduction to FreeMat
What variables have you defined
already ?

• Also try the commands: who & whos
Introduction to FreeMat
More Matrix Operations
• Try these:

Introduction to FreeMat
More Matrix Operations

Introduction to FreeMat
Special Matrices!

Introduction to FreeMat
Solving Equations!
• Now we may use the tools we have to solve a
system of equations!
• If we have the equations:
5x + 3 y − z = 7
x − 2 y + 9z = 8
x + 2 y + 3z = 6
• Just transform it into matrix form!
Introduction to FreeMat
Here is how!

Introduction to FreeMat
Or Even Easier!!!

• Actually, if you are solving a large system of
equations, this operator is MUCH faster!

Introduction to FreeMat
The last function for today!
• Timing function:
tic … toc
• Tic: starts the timer
• Toc: stops the timer and gives you the time in
seconds!

Introduction to FreeMat
More topics!
•
•
•
•
•

Complex numbers
Working with files
More graphics
Programming
Symbolic Operations

Introduction to FreeMat

More Related Content

What's hot

Five Key Lessons Learned Implementing ISO 19650 (Episode 06)
Five Key Lessons Learned Implementing ISO 19650 (Episode 06)Five Key Lessons Learned Implementing ISO 19650 (Episode 06)
Five Key Lessons Learned Implementing ISO 19650 (Episode 06)
Clive Jordan - fighter of Evil BIM
 
Yapı Bilgi Modellemesi (BİM) Saniye Öktem
Yapı Bilgi Modellemesi (BİM) Saniye ÖktemYapı Bilgi Modellemesi (BİM) Saniye Öktem
Yapı Bilgi Modellemesi (BİM) Saniye Öktem
İnşaat Mühendisi TV
 
Giáo trình Revit Mep 2017 - Điện nước - Dựng hình
Giáo trình Revit Mep 2017 - Điện nước - Dựng hìnhGiáo trình Revit Mep 2017 - Điện nước - Dựng hình
Giáo trình Revit Mep 2017 - Điện nước - Dựng hình
Huytraining
 
Building Information Modeling (BIM)
Building Information Modeling (BIM)Building Information Modeling (BIM)
Building Information Modeling (BIM)
Vulcan Smart Services
 
TỔ CHỨC THI CÔNG CÔNG TRÌNH
TỔ CHỨC THI CÔNG CÔNG TRÌNHTỔ CHỨC THI CÔNG CÔNG TRÌNH
TỔ CHỨC THI CÔNG CÔNG TRÌNH
TPHCM
 
Introduction to BIM 360 Docs
Introduction to BIM 360 DocsIntroduction to BIM 360 Docs
Introduction to BIM 360 Docs
Synergis Engineering Design Solutions
 
Cong nghe bim trong xay dung
Cong nghe bim trong xay dungCong nghe bim trong xay dung
Cong nghe bim trong xay dung
An Nam Education
 
Link dowload revit extension 2015 2016-2017-2018
Link dowload revit extension 2015 2016-2017-2018Link dowload revit extension 2015 2016-2017-2018
Link dowload revit extension 2015 2016-2017-2018
Kiến Trúc KISATO
 
Chia sẻ kinh nghiệm ứng dụng Tekla tại công ty cổ phần sông Đà 5
Chia sẻ kinh nghiệm ứng dụng Tekla tại công ty cổ phần sông Đà 5Chia sẻ kinh nghiệm ứng dụng Tekla tại công ty cổ phần sông Đà 5
Chia sẻ kinh nghiệm ứng dụng Tekla tại công ty cổ phần sông Đà 5
congnghebim
 
BIM - Building Information Modeling
BIM - Building Information ModelingBIM - Building Information Modeling
BIM - Building Information Modeling
Công ty TNHH Tư vấn Đại học Xây dựng - CCU
 
Nhưng kinh nghiệm đề tay thép hay mà kỹ sư hiện trường không thể bỏ qua
Nhưng kinh nghiệm đề tay thép hay mà kỹ sư hiện trường không thể bỏ quaNhưng kinh nghiệm đề tay thép hay mà kỹ sư hiện trường không thể bỏ qua
Nhưng kinh nghiệm đề tay thép hay mà kỹ sư hiện trường không thể bỏ qua
Kiến Trúc KISATO
 
Dữ liệu Cobie và hệ thống phân loại trong Revit
Dữ liệu Cobie và hệ thống phân loại trong RevitDữ liệu Cobie và hệ thống phân loại trong Revit
Dữ liệu Cobie và hệ thống phân loại trong Revit
congnghebim
 
Làm chủ công cụ thao tác với đối tượng trong phần mềm revit
Làm chủ công cụ thao tác với đối tượng trong phần mềm revitLàm chủ công cụ thao tác với đối tượng trong phần mềm revit
Làm chủ công cụ thao tác với đối tượng trong phần mềm revit
Kiến Trúc KISATO
 
Mô hình thông tin công trình (BIM)
Mô hình thông tin công trình (BIM)Mô hình thông tin công trình (BIM)
Mô hình thông tin công trình (BIM)
Nguyen Manh Tuan
 
đồ áN kỹ thuật thi công đhkt hà nội
đồ áN kỹ thuật thi công đhkt hà nội đồ áN kỹ thuật thi công đhkt hà nội
đồ áN kỹ thuật thi công đhkt hà nội
nataliej4
 
Làm chủ công cụ dựng giằng và vì kèo trong phần mềm revit
Làm chủ công cụ dựng giằng và vì kèo trong phần mềm revitLàm chủ công cụ dựng giằng và vì kèo trong phần mềm revit
Làm chủ công cụ dựng giằng và vì kèo trong phần mềm revit
Kiến Trúc KISATO
 
BẢNG CÂN ĐỐI NGUYÊN PHỤ LIỆU
BẢNG CÂN ĐỐI NGUYÊN PHỤ LIỆUBẢNG CÂN ĐỐI NGUYÊN PHỤ LIỆU
BẢNG CÂN ĐỐI NGUYÊN PHỤ LIỆU
Nhân Quả Công Bằng
 
LMS Imagine.Lab Amesim/STAR-CCM+ co-simulation: electric equipment bay of an ...
LMS Imagine.Lab Amesim/STAR-CCM+ co-simulation: electric equipment bay of an ...LMS Imagine.Lab Amesim/STAR-CCM+ co-simulation: electric equipment bay of an ...
LMS Imagine.Lab Amesim/STAR-CCM+ co-simulation: electric equipment bay of an ...
Siemens PLM Software
 
RCCd 2019 - Hướng dẫn sử dụng
RCCd 2019 - Hướng dẫn sử dụngRCCd 2019 - Hướng dẫn sử dụng
RCCd 2019 - Hướng dẫn sử dụng
Hồ Việt Hùng
 
Import mat bang luoi tu cad sang etabs bai 1
Import mat bang luoi tu cad sang  etabs   bai 1Import mat bang luoi tu cad sang  etabs   bai 1
Import mat bang luoi tu cad sang etabs bai 1
VOBAOTOAN
 

What's hot (20)

Five Key Lessons Learned Implementing ISO 19650 (Episode 06)
Five Key Lessons Learned Implementing ISO 19650 (Episode 06)Five Key Lessons Learned Implementing ISO 19650 (Episode 06)
Five Key Lessons Learned Implementing ISO 19650 (Episode 06)
 
Yapı Bilgi Modellemesi (BİM) Saniye Öktem
Yapı Bilgi Modellemesi (BİM) Saniye ÖktemYapı Bilgi Modellemesi (BİM) Saniye Öktem
Yapı Bilgi Modellemesi (BİM) Saniye Öktem
 
Giáo trình Revit Mep 2017 - Điện nước - Dựng hình
Giáo trình Revit Mep 2017 - Điện nước - Dựng hìnhGiáo trình Revit Mep 2017 - Điện nước - Dựng hình
Giáo trình Revit Mep 2017 - Điện nước - Dựng hình
 
Building Information Modeling (BIM)
Building Information Modeling (BIM)Building Information Modeling (BIM)
Building Information Modeling (BIM)
 
TỔ CHỨC THI CÔNG CÔNG TRÌNH
TỔ CHỨC THI CÔNG CÔNG TRÌNHTỔ CHỨC THI CÔNG CÔNG TRÌNH
TỔ CHỨC THI CÔNG CÔNG TRÌNH
 
Introduction to BIM 360 Docs
Introduction to BIM 360 DocsIntroduction to BIM 360 Docs
Introduction to BIM 360 Docs
 
Cong nghe bim trong xay dung
Cong nghe bim trong xay dungCong nghe bim trong xay dung
Cong nghe bim trong xay dung
 
Link dowload revit extension 2015 2016-2017-2018
Link dowload revit extension 2015 2016-2017-2018Link dowload revit extension 2015 2016-2017-2018
Link dowload revit extension 2015 2016-2017-2018
 
Chia sẻ kinh nghiệm ứng dụng Tekla tại công ty cổ phần sông Đà 5
Chia sẻ kinh nghiệm ứng dụng Tekla tại công ty cổ phần sông Đà 5Chia sẻ kinh nghiệm ứng dụng Tekla tại công ty cổ phần sông Đà 5
Chia sẻ kinh nghiệm ứng dụng Tekla tại công ty cổ phần sông Đà 5
 
BIM - Building Information Modeling
BIM - Building Information ModelingBIM - Building Information Modeling
BIM - Building Information Modeling
 
Nhưng kinh nghiệm đề tay thép hay mà kỹ sư hiện trường không thể bỏ qua
Nhưng kinh nghiệm đề tay thép hay mà kỹ sư hiện trường không thể bỏ quaNhưng kinh nghiệm đề tay thép hay mà kỹ sư hiện trường không thể bỏ qua
Nhưng kinh nghiệm đề tay thép hay mà kỹ sư hiện trường không thể bỏ qua
 
Dữ liệu Cobie và hệ thống phân loại trong Revit
Dữ liệu Cobie và hệ thống phân loại trong RevitDữ liệu Cobie và hệ thống phân loại trong Revit
Dữ liệu Cobie và hệ thống phân loại trong Revit
 
Làm chủ công cụ thao tác với đối tượng trong phần mềm revit
Làm chủ công cụ thao tác với đối tượng trong phần mềm revitLàm chủ công cụ thao tác với đối tượng trong phần mềm revit
Làm chủ công cụ thao tác với đối tượng trong phần mềm revit
 
Mô hình thông tin công trình (BIM)
Mô hình thông tin công trình (BIM)Mô hình thông tin công trình (BIM)
Mô hình thông tin công trình (BIM)
 
đồ áN kỹ thuật thi công đhkt hà nội
đồ áN kỹ thuật thi công đhkt hà nội đồ áN kỹ thuật thi công đhkt hà nội
đồ áN kỹ thuật thi công đhkt hà nội
 
Làm chủ công cụ dựng giằng và vì kèo trong phần mềm revit
Làm chủ công cụ dựng giằng và vì kèo trong phần mềm revitLàm chủ công cụ dựng giằng và vì kèo trong phần mềm revit
Làm chủ công cụ dựng giằng và vì kèo trong phần mềm revit
 
BẢNG CÂN ĐỐI NGUYÊN PHỤ LIỆU
BẢNG CÂN ĐỐI NGUYÊN PHỤ LIỆUBẢNG CÂN ĐỐI NGUYÊN PHỤ LIỆU
BẢNG CÂN ĐỐI NGUYÊN PHỤ LIỆU
 
LMS Imagine.Lab Amesim/STAR-CCM+ co-simulation: electric equipment bay of an ...
LMS Imagine.Lab Amesim/STAR-CCM+ co-simulation: electric equipment bay of an ...LMS Imagine.Lab Amesim/STAR-CCM+ co-simulation: electric equipment bay of an ...
LMS Imagine.Lab Amesim/STAR-CCM+ co-simulation: electric equipment bay of an ...
 
RCCd 2019 - Hướng dẫn sử dụng
RCCd 2019 - Hướng dẫn sử dụngRCCd 2019 - Hướng dẫn sử dụng
RCCd 2019 - Hướng dẫn sử dụng
 
Import mat bang luoi tu cad sang etabs bai 1
Import mat bang luoi tu cad sang  etabs   bai 1Import mat bang luoi tu cad sang  etabs   bai 1
Import mat bang luoi tu cad sang etabs bai 1
 

Similar to Introduction to FreeMat

Introduction to matlab
Introduction to matlabIntroduction to matlab
Introduction to matlab
Mohammad Tawfik
 
Matlab pt1
Matlab pt1Matlab pt1
Matlab pt1
Austin Baird
 
Mit6 094 iap10_lec01
Mit6 094 iap10_lec01Mit6 094 iap10_lec01
Mit6 094 iap10_lec01
Tribhuwan Pant
 
Matlab Tutorial.ppt
Matlab Tutorial.pptMatlab Tutorial.ppt
Matlab Tutorial.ppt
RaviMuthamala1
 
From zero to MATLAB hero: Mastering the basics and beyond
From zero to MATLAB hero: Mastering the basics and beyondFrom zero to MATLAB hero: Mastering the basics and beyond
From zero to MATLAB hero: Mastering the basics and beyond
MahuaPal6
 
MATLAB INTRODUCTION
MATLAB INTRODUCTIONMATLAB INTRODUCTION
MATLAB INTRODUCTION
Dr. Krishna Mohbey
 
Matlab lec1
Matlab lec1Matlab lec1
Matlab lec1
Amba Research
 
Introduction to matlab
Introduction to matlabIntroduction to matlab
Introduction to matlab
Santosh V
 
Introduction to Matlab.ppt
Introduction to Matlab.pptIntroduction to Matlab.ppt
Introduction to Matlab.ppt
Ravibabu Kancharla
 
INTRODUCTION TO MATLAB for PG students.ppt
INTRODUCTION TO MATLAB for PG students.pptINTRODUCTION TO MATLAB for PG students.ppt
INTRODUCTION TO MATLAB for PG students.ppt
Karthik537368
 
Basic matlab and matrix
Basic matlab and matrixBasic matlab and matrix
Basic matlab and matrix
Saidur Rahman
 
Matlab guide
Matlab guideMatlab guide
Matlab guide
aibad ahmed
 
MATLAB Tutorial For Beginners 2023
MATLAB Tutorial For Beginners 2023MATLAB Tutorial For Beginners 2023
MATLAB Tutorial For Beginners 2023
Simplilearn
 
MATLAB_CIS601-03.ppt
MATLAB_CIS601-03.pptMATLAB_CIS601-03.ppt
MATLAB_CIS601-03.ppt
aboma2hawi
 
Mbd dd
Mbd ddMbd dd
2. Chap 1.pptx
2. Chap 1.pptx2. Chap 1.pptx
2. Chap 1.pptx
HassanShah396906
 
Matlab tut2
Matlab tut2Matlab tut2
Matlab tut2
Vinnu Vinay
 
Mat lab workshop
Mat lab workshopMat lab workshop
Mat lab workshop
Vinay Kumar
 
Matlab Overviiew
Matlab OverviiewMatlab Overviiew
Matlab Overviiew
Nazim Naeem
 
Engineering Numerical Analysis-Introduction.pdf
Engineering Numerical Analysis-Introduction.pdfEngineering Numerical Analysis-Introduction.pdf
Engineering Numerical Analysis-Introduction.pdf
ssuseraae901
 

Similar to Introduction to FreeMat (20)

Introduction to matlab
Introduction to matlabIntroduction to matlab
Introduction to matlab
 
Matlab pt1
Matlab pt1Matlab pt1
Matlab pt1
 
Mit6 094 iap10_lec01
Mit6 094 iap10_lec01Mit6 094 iap10_lec01
Mit6 094 iap10_lec01
 
Matlab Tutorial.ppt
Matlab Tutorial.pptMatlab Tutorial.ppt
Matlab Tutorial.ppt
 
From zero to MATLAB hero: Mastering the basics and beyond
From zero to MATLAB hero: Mastering the basics and beyondFrom zero to MATLAB hero: Mastering the basics and beyond
From zero to MATLAB hero: Mastering the basics and beyond
 
MATLAB INTRODUCTION
MATLAB INTRODUCTIONMATLAB INTRODUCTION
MATLAB INTRODUCTION
 
Matlab lec1
Matlab lec1Matlab lec1
Matlab lec1
 
Introduction to matlab
Introduction to matlabIntroduction to matlab
Introduction to matlab
 
Introduction to Matlab.ppt
Introduction to Matlab.pptIntroduction to Matlab.ppt
Introduction to Matlab.ppt
 
INTRODUCTION TO MATLAB for PG students.ppt
INTRODUCTION TO MATLAB for PG students.pptINTRODUCTION TO MATLAB for PG students.ppt
INTRODUCTION TO MATLAB for PG students.ppt
 
Basic matlab and matrix
Basic matlab and matrixBasic matlab and matrix
Basic matlab and matrix
 
Matlab guide
Matlab guideMatlab guide
Matlab guide
 
MATLAB Tutorial For Beginners 2023
MATLAB Tutorial For Beginners 2023MATLAB Tutorial For Beginners 2023
MATLAB Tutorial For Beginners 2023
 
MATLAB_CIS601-03.ppt
MATLAB_CIS601-03.pptMATLAB_CIS601-03.ppt
MATLAB_CIS601-03.ppt
 
Mbd dd
Mbd ddMbd dd
Mbd dd
 
2. Chap 1.pptx
2. Chap 1.pptx2. Chap 1.pptx
2. Chap 1.pptx
 
Matlab tut2
Matlab tut2Matlab tut2
Matlab tut2
 
Mat lab workshop
Mat lab workshopMat lab workshop
Mat lab workshop
 
Matlab Overviiew
Matlab OverviiewMatlab Overviiew
Matlab Overviiew
 
Engineering Numerical Analysis-Introduction.pdf
Engineering Numerical Analysis-Introduction.pdfEngineering Numerical Analysis-Introduction.pdf
Engineering Numerical Analysis-Introduction.pdf
 

Recently uploaded

বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdfবাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
eBook.com.bd (প্রয়োজনীয় বাংলা বই)
 
South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)
Academy of Science of South Africa
 
Smart-Money for SMC traders good time and ICT
Smart-Money for SMC traders good time and ICTSmart-Money for SMC traders good time and ICT
Smart-Money for SMC traders good time and ICT
simonomuemu
 
How to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRMHow to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRM
Celine George
 
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
RitikBhardwaj56
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
Peter Windle
 
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptxChapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
Digital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments UnitDigital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments Unit
chanes7
 
Hindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdfHindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdf
Dr. Mulla Adam Ali
 
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
IreneSebastianRueco1
 
MARY JANE WILSON, A “BOA MÃE” .
MARY JANE WILSON, A “BOA MÃE”           .MARY JANE WILSON, A “BOA MÃE”           .
MARY JANE WILSON, A “BOA MÃE” .
Colégio Santa Teresinha
 
Azure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHatAzure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHat
Scholarhat
 
DRUGS AND ITS classification slide share
DRUGS AND ITS classification slide shareDRUGS AND ITS classification slide share
DRUGS AND ITS classification slide share
taiba qazi
 
Main Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docxMain Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docx
adhitya5119
 
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat  Leveraging AI for Diversity, Equity, and InclusionExecutive Directors Chat  Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
TechSoup
 
A Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdfA Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdf
Jean Carlos Nunes Paixão
 
The Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collectionThe Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collection
Israel Genealogy Research Association
 
Top five deadliest dog breeds in America
Top five deadliest dog breeds in AmericaTop five deadliest dog breeds in America
Top five deadliest dog breeds in America
Bisnar Chase Personal Injury Attorneys
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
camakaiclarkmusic
 
writing about opinions about Australia the movie
writing about opinions about Australia the moviewriting about opinions about Australia the movie
writing about opinions about Australia the movie
Nicholas Montgomery
 

Recently uploaded (20)

বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdfবাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
 
South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)
 
Smart-Money for SMC traders good time and ICT
Smart-Money for SMC traders good time and ICTSmart-Money for SMC traders good time and ICT
Smart-Money for SMC traders good time and ICT
 
How to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRMHow to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRM
 
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
 
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptxChapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
 
Digital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments UnitDigital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments Unit
 
Hindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdfHindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdf
 
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
 
MARY JANE WILSON, A “BOA MÃE” .
MARY JANE WILSON, A “BOA MÃE”           .MARY JANE WILSON, A “BOA MÃE”           .
MARY JANE WILSON, A “BOA MÃE” .
 
Azure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHatAzure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHat
 
DRUGS AND ITS classification slide share
DRUGS AND ITS classification slide shareDRUGS AND ITS classification slide share
DRUGS AND ITS classification slide share
 
Main Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docxMain Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docx
 
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat  Leveraging AI for Diversity, Equity, and InclusionExecutive Directors Chat  Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
 
A Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdfA Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdf
 
The Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collectionThe Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collection
 
Top five deadliest dog breeds in America
Top five deadliest dog breeds in AmericaTop five deadliest dog breeds in America
Top five deadliest dog breeds in America
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
 
writing about opinions about Australia the movie
writing about opinions about Australia the moviewriting about opinions about Australia the movie
writing about opinions about Australia the movie
 

Introduction to FreeMat

  • 1. Introduction to FreeMat Dr. Mohammad Tawfik Mohammad.tawfik@gmail.com Introduction to FreeMat
  • 2. In this workshop we will cover the following • • • • • • • • Using FreeMat as a numerical calculator Entering row vectors and column vectors Entering matrices Forming matrix and vector products Doing matrix products, sums etc Using FreeMat to solve linear equations FreeMat functions that operate on arrays Plotting basic graphs using FreeMat. Introduction to FreeMat
  • 3. What is MATLAB ? MATLAB started as an interactive program for doing matrix calculations and has now grown to a high level mathematical language that can solve integrals and differential equations numerically and plot a wide variety of two and three dimensional graphs. MATLAB also contains a programming language. Introduction to FreeMat
  • 4. What is FreeMat? • FreeMat is an open source software package that provides all the basic functions of MATLAB • It lacks the sophisticated toolboxes provided by the MATLAB, but it works perfectly if you use basic functions! Introduction to FreeMat
  • 5. How to get started? Introduction to FreeMat
  • 6. Simple arithmetic with Matlab Introduction to FreeMat
  • 7. Simple arithmetic with Matlab Introduction to FreeMat
  • 9. The order of operations • If you are using brackets, that will save you a lot of effort! • However, the operators have precedence! 1. 2. 3. 4. “( )” brackets “^” Power “* /” Multiplication and division “+ -” Addition and subtraction Introduction to FreeMat
  • 10. Variable names • Variable may have names that consist of characters and digits, but they can not start with a number! • Matlab distinguishes between lower and upper cases - so A and a are different objects • Only the first 19 characters in a variable name are important. Introduction to FreeMat
  • 11. Try this! • You have just created two vectors, x & y! • Now try some operations on them! (multiply by a constant, use sin(x), sqrt(x), exp(x), … Introduction to FreeMat
  • 13. This is your first plot! Introduction to FreeMat
  • 15. Now, you know how to create a plot of your data! Introduction to FreeMat
  • 16. Matrix Operations • Try these: Introduction to FreeMat
  • 17. Another way of creating a vector • You may try to multiply, add, or invert those matrices! Introduction to FreeMat
  • 18. Matrix Inversion • Matrix inversion is performed using the function: inv(); Introduction to FreeMat
  • 19. What variables have you defined already ? • Also try the commands: who & whos Introduction to FreeMat
  • 20. More Matrix Operations • Try these: Introduction to FreeMat
  • 23. Solving Equations! • Now we may use the tools we have to solve a system of equations! • If we have the equations: 5x + 3 y − z = 7 x − 2 y + 9z = 8 x + 2 y + 3z = 6 • Just transform it into matrix form! Introduction to FreeMat
  • 25. Or Even Easier!!! • Actually, if you are solving a large system of equations, this operator is MUCH faster! Introduction to FreeMat
  • 26. The last function for today! • Timing function: tic … toc • Tic: starts the timer • Toc: stops the timer and gives you the time in seconds! Introduction to FreeMat
  • 27. More topics! • • • • • Complex numbers Working with files More graphics Programming Symbolic Operations Introduction to FreeMat