Topic 1/2: MATLAB Introduction and MATLAB as a calculator

0.0(0)
studied byStudied by 0 people
GameKnowt Play
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/11

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

12 Terms

1
New cards
  • perform time-consuming tasks quickly

  • solve a wide range of interesting and difficult problems

  • visualise our data models, enabling us to interpret our results

what is the role of computers in modern-day engineering

2
New cards
  • hardware - the physical components of a computer

  • software - the set of instructions (i.e. computer programs) that control the hardware

what is a computer composed of

3
New cards
  • Computer-Aided Design

  • Computer-Aided Manufacturing

  • Electronic Design Automation

  • Integrated Development Environments

  • Finite Element Analysis

  • Computational Fluid Dynamics

  • Simulation

  • Optimisation

what are examples of software or methods enabled by software that engineers might use to solve their problems

4
New cards
  • simplifies the analysis of mathematical models

  • frees us from coding in lower-level languages (save time - with some computational speed penalties)

  • provides an extensible programming and visualisation environment

  • provides professional looking graphs

  • provides powerful toolboxes (i.e. extensions to the core functionality) tailored to specific applications

  • is platform independent (support for several different operating systems, including Windows, Mac, and Linux)

  • is linkable to other software (i.e. we can use MATLAB with other programming languages, such as: C/C+, Java, FORTAN, and Python)

what are the advantages of using MATLAB

5
New cards
  • is an interpreted language (i.e. not a pre-compiled language), so it can be slow

  • costs money to use, so it can be expensive

what are the disadvantages of using MATLAB

6
New cards
  • addition

    • >> 5 + 4 = 9

  • subtraction

    • >> 5 - 4 = 1

  • multiplication

    • >> 5 * 4 = 20

  • division

    • >> 5 / 4 = 1.25

  • power

    • >> 5 ^ 4 = 625

how can we use MATLAB as a calculator

7
New cards
  • Brackets

  • Exponents

  • Division

  • Multiplication

  • Addition

  • Subtraction

what is the order of operations

8
New cards
  • >> sqrt (4)

  • >> abs (-3)

  • >> sin (90)

  • >> sin (pi/2)

what are examples of the built-in mathematical functions in MATLAB

9
New cards

displays summary information on what a function does

what is the use of the help (name) function

10
New cards

provides detailed information on what a function does

what does the doc (name) function do

11
New cards

resets variables

what does the clear function do

12
New cards
  • variable names can only use a combination of

    • alphanumeric characters

    • the underscore _ character

  • variable names cannot contain

    • whitespace

    • begin with a number

how do we name variables