Base Knowledge
Knowledge of mathematics.
Teaching Methodologies
In theoretical classes, each topic is presented and complemented by application exercises. In laboratory classes students solve practical problems on the computer. For each new topic, the teacher, with the collaboration of the students, solves an initial application exercise. The remaining exercises are solved independently by the students under the teacher’s guidance. Students are encouraged to share ideas with their peers and explore different solutions to the same problem. The different solutions that arise are presented and discussed orally with the students.
Learning Results
Be aware of some of the computational tools used in engineering, in a generic way. Understand essential concepts that support
programming practice in most common languages and illustrate their application in the Matlab environment. Create and code algorithms in a high-level programming language. Understand and apply the concepts of modularity and structured programming. Acquire the ability to use computational tools as an instrument for analyzing and solving problems in Electromechanical Engineering. Practising the interchanging of ideas and the discussion of problems and solutions. Developing self-knowledge acquisition habits.
Program
- Introduction to computational tools. Matlab as a computational tool and as a programming language.
- Introduction to programming: algorithm, structure of a program, Matlab code editor (scripts).
- Variables, data formats and types.
- Numeric expressions and operators. Elementary functions.
- Input and output data instructions.
- Conditional Instructions: switch case instruction; if instruction; relational and logical operators.
- Repetition loops: for loop; while loop; break instruction.
- Arrays: one-dimensional and two-dimensional; creation and operations with arrays.
- Functions (subprograms): internal and external functions; structure of a function; local and global variables.
- Data import and export from/to external files.
Curricular Unit Teachers
Anabela Duarte CarvalhoInternship(s)
NAO
Bibliography
Chapman, J. (2024). Matlab Programming for Engineers (7th ed.). Cengage Learning.
Gilat, A. (2017). MATLAB: An Introduction with Applications (6th ed.). John Wiley & Sons, Inc.
Marques, J. & Carvalho, A. (2025). Sebenta de Introdução à Programação_PT. ISEC (available at academic platform Inforestudante)
Carvalho, A. (2025). Diapositivos de apoio às aulas_PT. ISEC (available at academic platform Inforestudante)
Marques, J. & Carvalho, A. (2025). Practical classes exercises_EN. ISEC (available at academic platform Inforestudante)
MATLAB Help Center (https://www.mathworks.com/help/matlab)
Bibliografia Complementar:
Morais, V. & Vieira, C. (2013). MATLAB – Curso Completo, Ed. FCA (Library ISEC: 1A-1-453)
Chapman, J. (2008). Programação em MATLAB para Engenheiros (4ªed.). Thomson Engineering (Library ISEC: 1A-1-453)
Chapman, J. (2009). Essentials of MATLAB programming (2ªed.). Cengage Learning (Library ISEC: 1A-1-237)
Chapra, S. C. & Canale, R. P. (2008). Métodos Numéricos para Engenharia (5ªed.). McGraw-Hill. (Library ISEC: 1A 3-4-118)