0% found this document useful (0 votes)
12 views

Lecture 1 Estimation

Uploaded by

mpd2025e177
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
12 views

Lecture 1 Estimation

Uploaded by

mpd2025e177
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 9

Lecture 1 Introduction  MATLAB stands for MATrix LABoratory

1 ‫ ﻣﻘﺪﻣﺔ ﻣﺤﺎﺿﺮﺓ‬MAtrix LABoratory ‫ ﻳﺮﻣﺰ ﺇﻟﻰ‬ MATLAB


 MATLAB was designed to make matrix computations particularly easy
 ‫ ﺗﻢ ﺗﺼﻤﻴﻢ‬MATLAB ‫ﺳﻬﻠﺔ ﺑﺸﻜﻞ ﺧﺎﺹ ﻹﺟﺮﺍﺀ ﺣﺴﺎﺑﺎﺕ ﺍﻟﻤﺼﻔﻮﻓﺎﺕ‬
 Cleve Moler wrote the first version of MATLAB IN 1970
 ‫ ﻛﺘﺐ ﻛﻠﻴﻒ ﻣﻮﻟﺮ ﺍﻟﻨﺴﺨﺔ ﺍﻷﻭﻟﻰ ﻣﻦ‬MATLAB 1970 ‫ﻓﻲ ﻋﺎﻡ‬
 MATLAB integrates computation + visualization +programming in a very
easy way to use SOME Applications (MATLAB)  Math and computation 
Programming  Modeling and simulation  Plotting and data representatio 
Data analysis, exploration and visualization  Systems and Control 
Scientific and engineering graphs
 MATLAB ‫ ﺍﻟﺘﺼﻮﺭ‬+ ‫ ﺍﻟﺒﺮﻣﺠﺔ ﺑﻄﺮﻳﻘﺔ ﺳﻬﻠﺔ ﺍﻻﺳﺘﺨﺪﺍﻡ ﺟﺪﺍ ﻳﺪﻣﺞ ﺍﻟﺤﺴﺎﺏ‬+ ‫)ﺍﻟﻤﺎﺗﻼﺏ‬
‫ )ﺑﻌﺾ ﺍﻟﺘﻄﺒﻴﻘﺎﺕ‬ ‫ ﺍﻟﺮﻳﺎﺿﻴﺎﺕ ﻭﺍﻟﺤﺴﺎﺏ‬ ‫ ﺍﻟﺒﺮﻣﺠﺔ‬ ‫ ﺍﻟﻨﻤﺬﺟﺔ ﻭﺍﻟﻤﺤﺎﻛﺎﺓ‬ ‫ﻭﺗﻤﺜﻴﻞ ﺍﻟﺒﻴﺎﻧﺎﺕ‬
‫ ﺍﻟﺘﺨﻄﻴﻂ‬ ‫ ﺗﺤﻠﻴﻞ ﺍﻟﺒﻴﺎﻧﺎﺕ ﻭﺍﺳﺘﻜﺸﺎﻓﻬﺎ ﻭﺗﺼﻮﺭﻫﺎ‬ ‫ ﺍﻷﻧﻈﻤﺔ ﻭﺍﻟﺘﺤﻜﻢ‬ ‫ﺍﻟﺒﻴﺎﻧﻴﺔ ﺍﻟﻌﻠﻤﻴﺔ ﻭﺍﻟﻬﻨﺪﺳﻴﺔ‬
‫ﺍﻟﺮﺳﻮﻡ‬
Menu Bar The Menu Bar is located at the top of the MATLAB window and
provides access to various operations and tools, organized into menus like:
File: Open, save, or manage files
‫ ﻭﻳﻮﻓﺮ ﺇﻣﻜﺎﻧﻴﺔ ﺍﻟﻮﺻﻮﻝ ﺷﺮﻳﻂ ﺍﻟﻘﻮﺍﺋﻢ‬MATLAB ‫ ﻳﻘﻊ ﺷﺮﻳﻂ ﺍﻟﻘﺎﺋﻤﺔ ﻓﻲ ﺍﻟﺠﺰﺀ ﺍﻟﻌﻠﻮﻱ ﻣﻦ ﻧﺎﻓﺬﺓ‬:‫ﻣﺜﻞ‬
‫ ﻣﻨﻈﻤﺔ ﻓﻲ ﻗﻮﺍﺋﻢ‬،‫ ﻓﺘﺢ ﺍﻟﻤﻠﻔﺎﺕ ﺃﻭ ﺣﻔﻈﻬﺎ ﺃﻭ ﺇﺩﺍﺭﺗﻬﺎ ﻟﻤﺨﺘﻠﻒ ﺍﻟﻌﻤﻠﻴﺎﺕ ﻭﺍﻷﺩﻭﺍﺕ‬:‫ﻣﻠﻒ‬
 Edit: Perform editing tasks like cut, copy, paste, and find
 ‫ ﺗﻨﻔﻴﺬ ﻣﻬﺎﻡ ﺍﻟﺘﺤﺮﻳﺮ ﻣﺜﻞ ﺍﻟﻘﺺ ﻭﺍﻟﻨﺴﺦ ﻭﺍﻟﻠﺼﻖ ﻭﺍﻟﺒﺤﺚ‬:‫ﺗﺤﺮﻳﺮ‬
 View: Customize the layout of the MATLAB workspace
 ‫ ﺗﺨﺼﻴﺺ ﺗﺨﻄﻴﻂ ﻣﺴﺎﺣﺔ ﻋﻤﻞ‬:‫ ﻋﺮﺽ‬MATLAB
 Plot: Access visualization options for creating graphs and plots
 ‫ ﺍﻟﻮﺻﻮﻝ ﺇﻟﻰ ﺧﻴﺎﺭﺍﺕ ﺍﻟﺘﺼﻮﺭ ﻹﻧﺸﺎﺀ ﺍﻟﺮﺳﻮﻡ ﺍﻟﺒﻴﺎﻧﻴﺔ ﻭﺍﻟﻤﺆﺍﻣﺮﺍﺕ‬:‫ﺍﻟﻤﺆﺍﻣﺮﺓ‬
 Apps: Access toolboxes and specialized applications
 ‫ ﺍﻟﻮﺻﻮﻝ ﺇﻟﻰ ﺻﻨﺎﺩﻳﻖ ﺍﻷﺩﻭﺍﺕ ﻭﺍﻟﺘﻄﺒﻴﻘﺎﺕ ﺍﻟﻤﺘﺨﺼﺼﺔ‬:‫ﺍﻟﺘﻄﺒﻴﻘﺎﺕ‬
 Desktop: Manage the appearance and behavior of the desktop environment
 ‫ ﺇﺩﺍﺭﺓ ﻣﻈﻬﺮ ﻭﺳﻠﻮﻙ ﺑﻴﺌﺔ ﺳﻄﺢ ﺍﻟﻤﻜﺘﺐ‬:‫ﺳﻄﺢ ﺍﻟﻤﻜﺘﺐ‬
 Help: Access MATLAB's documentation and support features
 ‫ ﺍﻟﻮﺻﻮﻝ ﺇﻟﻰ ﻭﺛﺎﺋﻖ‬:‫ ﺍﻟﻤﺴﺎﻋﺪﺓ‬MATLAB ‫ﻭﻣﻴﺰﺍﺕ ﺍﻟﺪﻋﻢ‬
 MSC ELAF ALI 1
 1 ‫ﺇﻡ ﺇﺱ ﺳﻲ ﺇﻳﻼﻑ ﻋﻠﻲ‬
2
2
Tool Bar The Tool Bar contains shortcut icons for commonly used functions,
such as: Run: Execute scripts or commands
‫ ﺷﺮﻳﻂ ﺍﻷﺩﻭﺍﺕ‬:‫ ﻣﺜﻞ‬،‫ﻳﺤﺘﻮﻱ ﺷﺮﻳﻂ ﺍﻷﺩﻭﺍﺕ ﻋﻠﻰ ﺃﻳﻘﻮﻧﺎﺕ ﺍﺧﺘﺼﺎﺭﺍﺕ ﻟﻠﻮﻇﺎﺋﻒ ﺍﻟﺸﺎﺋﻌﺔ ﺍﻻﺳﺘﺨﺪﺍﻡ‬
‫ ﺗﻨﻔﻴﺬ ﺍﻟﺒﺮﺍﻣﺞ ﺍﻟﻨﺼﻴﺔ ﺃﻭ ﺍﻷﻭﺍﻣﺮ‬:‫ﺗﺸﻐﻴﻞ‬
 Save: Save the current workspace or script
 ‫ ﺍﺣﻔﻆ ﻣﺴﺎﺣﺔ ﺍﻟﻌﻤﻞ ﺃﻭ ﺍﻟﺒﺮﻧﺎﻣﺞ ﺍﻟﻨﺼﻲ ﺍﻟﺤﺎﻟﻲ‬:‫ﺣﻔﻆ‬
 Open: Open an existing file or project
 ‫ ﻓﺘﺢ ﻣﻠﻒ ﺃﻭ ﻣﺸﺮﻭﻉ ﻣﻮﺟﻮﺩ‬:‫ﻓﺘﺢ‬
 Debugging Tools: Set breakpoints and step through code
 ‫ ﻗﻢ ﺑﺘﻌﻴﻴﻦ ﻧﻘﺎﻁ ﺍﻟﺘﻮﻗﻒ ﻭﺍﻟﺘﻨﻘﻞ ﺧﻼﻝ ﺍﻟﺘﻌﻠﻴﻤﺎﺕ ﺍﻟﺒﺮﻣﺠﻴﺔ‬:‫ﺃﺩﻭﺍﺕ ﺍﻟﺘﺼﺤﻴﺢ‬
 Plotting Options: Quickly create 2D and 3D plots
 ‫ ﻗﻢ ﺑﺈﻧﺸﺎﺀ ﻣﺨﻄﻄﺎﺕ ﺛﻨﺎﺋﻴﺔ ﻭﺛﻼﺛﻴﺔ ﺍﻷﺑﻌﺎﺩ ﺑﺴﺮﻋﺔ‬:‫ﺧﻴﺎﺭﺍﺕ ﺍﻟﺮﺳﻢ‬
3
3
Program Windows MATLAB's interface is divided into multiple windows,
each serving a specific purpose: Command Window: The primary interface
for executing commands and  running scripts interactively
‫ ﻛﻞ ﻣﻨﻬﺎ ﻳﺨﺪﻡ ﺑﺮﻧﺎﻣﺞ ﻭﻳﻨﺪﻭﺯ‬،‫ ﺇﻟﻰ ﻧﻮﺍﻓﺬ ﻣﺘﻌﺪﺩﺓ‬MATLAB ‫ ﺗﻨﻘﺴﻢ ﻭﺍﺟﻬﺔ‬:‫ﺍﻷﻭﺍﻣﺮ ﻭ ﻏﺮﺽ ﻣﺤﺪﺩ‬
‫ ﺍﻟﻮﺍﺟﻬﺔ ﺍﻷﺳﺎﺳﻴﺔ ﻟﺘﻨﻔﻴﺬ‬:‫ ﻧﺎﻓﺬﺓ ﺍﻷﻭﺍﻣﺮ‬ ‫ﺗﺸﻐﻴﻞ ﺍﻟﺒﺮﺍﻣﺞ ﺍﻟﻨﺼﻴﺔ ﺑﺸﻜﻞ ﺗﻔﺎﻋﻠﻲ‬
Example: matlab Copy code >> x = 5; >> y = x^2; >> disp(y) Editor: A text
editor for writing, editing, and saving MATLAB scripts (
:‫؛ ﻧﺴﺦ ﺍﻟﺮﻣﺰ ﻣﺎﺗﻼﺏ ﻣﺜﺎﻝ‬5 = ‫; << ﺱ‬2^‫ ) << ﻋﺮﺽ )ﺹ( << ﺹ = ﺱ‬MATLAB ‫ﻧﺼﻮﺹ‬
‫ ﻣﺤﺮﺭ ﻧﺼﻮﺹ ﻟﻜﺘﺎﺑﺔ ﻭﺗﺤﺮﻳﺮ ﻭﺣﻔﻆ‬:‫ﺍﻟﻤﺤﺮﺭ‬
m  files)
m  ‫)ﺍﻟﻤﻠﻔﺎﺕ‬
It includes features like syntax highlighting and debugging tools
‫ﻳﺘﻀﻤﻦ ﻣﻴﺰﺍﺕ ﻣﺜﻞ ﺃﺩﻭﺍﺕ ﺗﻤﻴﻴﺰ ﺑﻨﺎﺀ ﺍﻟﺠﻤﻠﺔ ﻭﺗﺼﺤﻴﺢ ﺍﻷﺧﻄﺎﺀ‬
Workspace: Displays variables currently in memory, their values, and sizes
‫ ﺗﻌﺮﺽ ﺍﻟﻤﺘﻐﻴﺮﺍﺕ ﺍﻟﻤﻮﺟﻮﺩﺓ ﺣﺎﻟﻴﺎ ﻓﻲ ﺍﻟﺬﺍﻛﺮﺓ ﻭﻗﻴﻤﻬﺎ ﻭﺃﺣﺠﺎﻣﻬﺎ‬:‫ﻣﺴﺎﺣﺔ ﺍﻟﻌﻤﻞ‬
 Command History: Keeps a record of all commands entered in the 
Command Window
 ‫ ﻳﺤﺘﻔﻆ ﺑﺴﺠﻞ ﻟﺠﻤﻴﻊ ﺍﻷﻭﺍﻣﺮ ﺍﻟﺘﻲ ﺗﻢ ﺇﺩﺧﺎﻟﻬﺎ ﻓﻲ ﺍﻟﻤﻠﻒ‬:‫ ﺳﺠﻞ ﺍﻷﻭﺍﻣﺮ‬ ‫ﻧﺎﻓﺬﺓ ﺍﻷﻭﺍﻣﺮ‬
Current Folder: Shows the contents of the working directory,  allowing you
to manage files and folders
،‫ ﻳﻌﺮﺽ ﻣﺤﺘﻮﻳﺎﺕ ﺩﻟﻴﻞ ﺍﻟﻌﻤﻞ‬:‫ ﺍﻟﻤﺠﻠﺪ ﺍﻟﺤﺎﻟﻲ‬ ‫ﻣﻤﺎ ﻳﺴﻤﺢ ﻟﻚ ﺑﺈﺩﺍﺭﺓ ﺍﻟﻤﻠﻔﺎﺕ ﻭﺍﻟﻤﺠﻠﺪﺍﺕ‬
Figure Window: Displays graphical outputs like plots and charts
‫ﻧﺎﻓﺬﺓ ﺍﻟﺸﻜﻞ‪ :‬ﺗﻌﺮﺽ ﺍﻟﻤﺨﺮﺟﺎﺕ ﺍﻟﺮﺳﻮﻣﻴﺔ ﻣﺜﻞ ﺍﻟﻤﺨﻄﻄﺎﺕ ﻭﺍﻟﻤﺨﻄﻄﺎﺕ‬
‫‪ Simulink Library Browser: For users working with Simulink,  this‬‬
‫‪window provides access to model components‬‬
‫ﺇﻟﻰ ﻣﻜﻮﻧﺎﺕ ﺍﻟﻨﻤﻮﺫﺝ ‪ Simulink، ‬ﻟﻠﻤﺴﺘﺨﺪﻣﻴﻦ ﺍﻟﺬﻳﻦ ﻳﻌﻤﻠﻮﻥ ﻣﻊ ‪ Simulink:‬ﻣﺘﺼﻔﺢ ﻣﻜﺘﺒﺔ ‪‬‬
‫ﺗﻮﻓﺮ ﻫﺬﻩ ﺍﻟﻨﺎﻓﺬﺓ ﺍﻟﻮﺻﻮﻝ‬
‫‪MSC ELAF ALI 2‬‬
‫ﺇﻡ ﺇﺱ ﺳﻲ ﺇﻳﻼﻑ ﻋﻠﻲ ‪2‬‬
No ocrText found in response
‫ ﻓﻲ ﺍﻟﺮﺩ‬ocr ‫ﻟﻢ ﻳﺘﻢ ﺍﻟﻌﺜﻮﺭ ﻋﻠﻰ ﻧﺺ‬
No ocrText found in response
‫ ﻓﻲ ﺍﻟﺮﺩ‬ocr ‫ﻟﻢ ﻳﺘﻢ ﺍﻟﻌﺜﻮﺭ ﻋﻠﻰ ﻧﺺ‬
No ocrText found in response
‫ ﻓﻲ ﺍﻟﺮﺩ‬ocr ‫ﻟﻢ ﻳﺘﻢ ﺍﻟﻌﺜﻮﺭ ﻋﻠﻰ ﻧﺺ‬
No ocrText found in response
‫ ﻓﻲ ﺍﻟﺮﺩ‬ocr ‫ﻟﻢ ﻳﺘﻢ ﺍﻟﻌﺜﻮﺭ ﻋﻠﻰ ﻧﺺ‬
Questions ▸ 1- Define MATLAB
‫ ﺗﻌﺮﻳﻒ ﺍﻟﻤﺎﺗﻼﺏ ﺃﺳﺌﻠﺔ‬-1 ▸
► 2- What is the Command Window in MATLAB? 3- What is the
Workspace Window in MATLAB? 4- What is the Help Window in
MATLAB? ???? ► 5- What is the Command History Window in MATLAB?
‣ 6- What is the Editor Window in MATLAB? Notes MSC ELAF ALI 7 ‫ירט‬
‫؟‬MATLAB ‫ ﻣﺎ ﻫﻲ ﻧﺎﻓﺬﺓ ﺍﻷﻭﺍﻣﺮ ﻓﻲ‬-2 ► ‫؟‬MATLAB ‫ ﻣﺎ ﻫﻲ ﻧﺎﻓﺬﺓ ﻣﺴﺎﺣﺔ ﺍﻟﻌﻤﻞ ﻓﻲ‬-3
‫؟‬MATLAB ‫ ﻣﺎ ﻫﻲ ﻧﺎﻓﺬﺓ ﺍﻟﻤﺴﺎﻋﺪﺓ ﻓﻲ‬-4 ‫؟ ؟؟؟؟‬MATLAB ‫ ﻣﺎ ﻫﻲ ﻧﺎﻓﺬﺓ ﺳﺠﻞ ﺍﻷﻭﺍﻣﺮ ﻓﻲ‬-5 ►
‫؟‬MATLAB ‫ ﻣﺎ ﻫﻲ ﻧﺎﻓﺬﺓ ﺍﻟﻤﺤﺮﺭ ﻓﻲ‬-6 ‣ ‫ ﺇﻡ ﺇﺱ ﺳﻲ ﺇﻳﻼﻑ ﻋﻠﻲ ﻣﻠﺤﻮﻇﺎﺕ‬7 ‫ﺛﺎﻟﺜﺎ‬
Summary Understanding the MATLAB interface is the first step toward
mastering programming in MATLAB
‫ ﻫﻮ ﺍﻟﺨﻄﻮﺓ ﺍﻷﻭﻟﻰ ﻧﺤﻮ ﺇﺗﻘﺎﻧﻬﺎ ﻣﻠﺨﺺ‬MATLAB ‫ ﺇﻥ ﻓﻬﻢ ﻭﺍﺟﻬﺔ‬MATLAB ‫ﺍﻟﺒﺮﻣﺠﺔ ﻓﻲ‬
Familiarity with the Menu Bar, Tool Bar, and various Program Windows
allows you to efficiently navigate and utilize the software for computational
tasks, data analysis, and visualization
،‫ ﻭﺷﺮﻳﻂ ﺍﻷﺩﻭﺍﺕ‬،‫ ﺍﻟﻤﺘﻨﻮﻉ ﺍﻟﺘﻨﻘﻞ ﺑﻜﻔﺎﺀﺓ ﻭ ﺍﻹﻟﻤﺎﻡ ﺑﺸﺮﻳﻂ ﺍﻟﻘﻮﺍﺋﻢ‬Windows ‫ﻭ ﻭﻳﺘﻴﺢ ﻟﻚ ﺑﺮﻧﺎﻣﺞ‬
،‫ ﻭﺗﺤﻠﻴﻞ ﺍﻟﺒﻴﺎﻧﺎﺕ‬،‫ﺍﻟﺘﺼﻮﺭ ﺍﺳﺘﺨﺪﺍﻡ ﺍﻟﺒﺮﻧﺎﻣﺞ ﻟﻠﻤﻬﺎﻡ ﺍﻟﺤﺴﺎﺑﻴﺔ‬
MSC ELAF ALI 8
8 ‫ﺇﻡ ﺇﺱ ﺳﻲ ﺇﻳﻼﻑ ﻋﻠﻲ‬

You might also like