MCRL2 by kashif khan
kashif.namal@gmail.com
Master in Computer Science University of Camerino italy
Bachelor in Software Engineering University of Bradford UK
MCRL2 by kashif khan
kashif.namal@gmail.com
Master in Computer Science University of Camerino italy
Bachelor in Software Engineering University of Bradford UK
In this lecture we will discuss about another flow control method – Loop control.
A loop control is used to execute a set of commands repeatedly
The set of commands is called the body of the loop
MATLAB has two loop control techniques
Counted loops - executes commands a specified number of times
Conditional loops - executes commands as long as a specified expression is true
▪ Developed a recursive-descent parser to generate an intermediate representation for subsequent optimizations in Java
▪ Implemented common subexpression elimination and copy propagation on control flow graph
▪ Deployed a code generator for the source language that yields optimized native programs
In this lecture we discuss more about programming in MATLAB. One main section in programming is flow control. There are many flow control commands in MATLAB. In this lecture we discuss the conditional flow control commands. Conditional statements are commands that allows MATLAB to decide whether or not to execute some code that follows the statement
Conditional statements use relational operators like ==,~=,>,< (Note that are all scalar tests)
In this lecture we will discuss about another flow control method – Loop control.
A loop control is used to execute a set of commands repeatedly
The set of commands is called the body of the loop
MATLAB has two loop control techniques
Counted loops - executes commands a specified number of times
Conditional loops - executes commands as long as a specified expression is true
▪ Developed a recursive-descent parser to generate an intermediate representation for subsequent optimizations in Java
▪ Implemented common subexpression elimination and copy propagation on control flow graph
▪ Deployed a code generator for the source language that yields optimized native programs
In this lecture we discuss more about programming in MATLAB. One main section in programming is flow control. There are many flow control commands in MATLAB. In this lecture we discuss the conditional flow control commands. Conditional statements are commands that allows MATLAB to decide whether or not to execute some code that follows the statement
Conditional statements use relational operators like ==,~=,>,< (Note that are all scalar tests)
BIOMEDICAL APPLICATION EMBEDDED SYSTEMS INPLANT TRAINING maasarun
DEAR STUDENTS,
MAASTECH OFFER INPLANT TRAINING PROGRAMME CONDUCTED FOR PRE-FINAL YEAR ENGINEERING STUDENTS
B.E/B.TECH (ECE, EEE, E&I,ICE, CSE, IT & Biomedical) B.SC. ELECTRONICS, M.SC. ELECTRONICS &DIPLOMA
IPT FIELD-ROBOTICS PROGRAMMING, EMBEDDED PROGRAMMING, JAVA,.NET,
HARDWARE INTERFACE TO SOFTWARE (PC)
BASIC ELECTRONICS AND ELECTRICAL CLASSES
BASIC EMBEDDED SYSTEMS WITH HITECH "C"
SOLDERING PRACTICE FOR PCB BOARD ASSEMBLING
SENSOR, TRANSDUCER IDENTIFIACTION AND WORKING
EMBEDDED SYSTEMS INTERFACING TO REAL WORLD
ORCAD PRACTICE FOR CIRCUIT DESIGN
STUDENTS INVOLVED IN LATEST R&D PRODUCTS
GSM, GPS and ROBOTICS Application Kits
C, VB6.0, RS232, RS485, TCP/IP (PC INTERFACE)
HOW TO MAKE MINI/MAIN PROJECTS
Embedded systems in biomedical applicationsSeminar Links
Interface with the outside world -sensors, actuators and specialized communication links. Healthcare applications offer distinctive challenges for embedded systems over the next ten years.
MATLAB retains your previous keystrokes.
• Use the up-arrow key to scroll back back through the commands.
• Press the key once to see the previous entry, and so on.
• Use the down-arrow key to scroll forward. Edit a line using the left- and right-arrow keys the Backspace key, and the Delete key.
• Press the Enter key to execute the command.
Unit 8 - Information and Communication Technology (Paper I).pdfThiyagu K
This slides describes the basic concepts of ICT, basics of Email, Emerging Technology and Digital Initiatives in Education. This presentations aligns with the UGC Paper I syllabus.
How to Make a Field invisible in Odoo 17Celine George
It is possible to hide or invisible some fields in odoo. Commonly using “invisible” attribute in the field definition to invisible the fields. This slide will show how to make a field invisible in odoo 17.
The French Revolution, which began in 1789, was a period of radical social and political upheaval in France. It marked the decline of absolute monarchies, the rise of secular and democratic republics, and the eventual rise of Napoleon Bonaparte. This revolutionary period is crucial in understanding the transition from feudalism to modernity in Europe.
For more information, visit-www.vavaclasses.com
Acetabularia Information For Class 9 .docxvaibhavrinwa19
Acetabularia acetabulum is a single-celled green alga that in its vegetative state is morphologically differentiated into a basal rhizoid and an axially elongated stalk, which bears whorls of branching hairs. The single diploid nucleus resides in the rhizoid.
Model Attribute Check Company Auto PropertyCeline George
In Odoo, the multi-company feature allows you to manage multiple companies within a single Odoo database instance. Each company can have its own configurations while still sharing common resources such as products, customers, and suppliers.
Palestine last event orientationfvgnh .pptxRaedMohamed3
An EFL lesson about the current events in Palestine. It is intended to be for intermediate students who wish to increase their listening skills through a short lesson in power point.
Francesca Gottschalk - How can education support child empowerment.pptxEduSkills OECD
Francesca Gottschalk from the OECD’s Centre for Educational Research and Innovation presents at the Ask an Expert Webinar: How can education support child empowerment?
Introduction to AI for Nonprofits with Tapp NetworkTechSoup
Dive into the world of AI! Experts Jon Hill and Tareq Monaur will guide you through AI's role in enhancing nonprofit websites and basic marketing strategies, making it easy to understand and apply.
2. INTRODUCTION
MATLAB stands for Matrix Laboratory.
MATLAB had many functions and toolboxes
Integration
Image Processing
Linear Algebra
…
Is high level language
Solves computing problems
in a fraction of the time
2
3. MATLAB SCREEN
Command Window
type commands
Current Directory
View folders and m-files
Workspace
View program variables
Double click on a variable
to see it in the Array Editor
Command History
view past commands
save a whole session
using diary
3
4. VARIABLE
No need for types
int a = 10;
float pie = 3.1415;
All variable are of double precision unless specified
pie = 3.1415
s = 123
All variable are 1x1 matrices
4
5. ARRAY
a vector
x = [1 2 5 1]
x = 1 2 5 1
a matrix
x = [1 2 3; 5 1 4; 3 2 -1]
transpose
y = x’
5
11. FUNCTIONS
No return keyword
function out1=fname(in1,in2,in3)
Some commands
function [out1,out2]=name(in1,in2)
EXAMPLE
function [out1, out2] = sumprod(array)
out1 = sum(array)
out2 = prod(array)
11
12. GUI APPLICATION
Starting new App
Home > New > App > GUIDE
Home > New > App > App Designer
GUIDE
Procedural
App Designer
Object Oriented
Both have same components
12
15. CALLBACK
Catchable event of Button
Callback (OnClick)
Create –When button is created
Delete – button is delete
ButtonDown
KeyPress
Execute when event/callback occur
Jumps to that code
15
16. COMPONENT INSPECTOR
• Set String Property of Button
• set(handles.pushbutton1,‘String',‘test');
• Get String Property of Button
• get(handles.pushbutton1,‘String');
16
17. SOME USEFULTIPS
Open Dialog Box
[filename,pathname] = uigetfile('*.bmp;','Select bmp file');
Save Dialog Box
[filename, pathname] = uiputfile('*.bmp;','Save Image', filename);
sum – Add all element of matrix or vector
mean – Return mean of matrix or vector
strcat – String concatenation (+ operator for string not supported)
a(:) – Return Nx1 matrix considering a multi-dimensional.
17