Systems Modelling

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

1/28

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.

29 Terms

1
New cards
knowt flashcard image

How to draw a sine wave?

2
New cards

knowt flashcard image

How to include a constant?

3
New cards

knowt flashcard image

How to achieve addition in Simulink?

4
New cards
knowt flashcard image

How to acheive scope output in Simulink?

5
New cards
term image

How to include a derivative in Simulink?

6
New cards
term image

How to acheive multiplication in Simulink?

7
New cards
term image

How to achieve an integtrator in Simulink?

8
New cards
term image

How to include a step response in Simulink?

9
New cards

Using the .* operator.

How to perform element-wise multiplication in MATLAB?

10
New cards

Using the * operator.

How to perform matrix multiplication in MATLAB?

11
New cards

figure; plot(t, y)

If we have an array of x values t and a array of y values y, how do we draw a plot of this in MATLAB?

12
New cards

Using the .^ operator.

How to carry out exponents in MATLAB?

13
New cards
term image

Write a MATLAB script that initialises a variable a to 0. Using a for loop, over three iterations increment the variable by 1.

14
New cards

hold on

How to enable multiple plots on the same figure in MATLAB?

15
New cards
term image

Give an example of using subplots to draw 4 subplots in a 2×2 grid.

16
New cards

xlabel(“Label name“) ylabel(“Label name“)

How to add X and Y labels to a plot?

17
New cards
term image

Write a MATLAB program that sets a var x to a predefined value. If it is less than 0, set it to -100. If it is equal to 0, set it to 0. Otherwise set it to 100.

18
New cards

plot3(x, y, z)

How to create a 3D plot in MATLAB with x, y and z values?

19
New cards
term image

Write a function that takes in integer coefficents a, b, c and x and returns the value of the quadratic equation ax² + bx + c.

20
New cards

load dataset.mat;

How to load a dataset, dataset.mat in MATLAB?

21
New cards
term image

Give an example of using polyfit and polyval to fit polynomial models to data

22
New cards
term image

Give an example of plotting a step response graph using the lsim function, with the transfer function being 1/RCs + 1, and R being 5, C being 1. Set simulation time to be 10.

23
New cards
term image

Give an example of plotting a step response graph using the tf function, with the transfer function being 1/RCs + 1, and R being 5, C being 1. Set simulation time to be 10.

24
New cards
term image

Give an example of plotting a frequency response graph, with the transfer function being 1/RCs + 1, and R being 5, C being 1. Set simulation time to be 10

25
New cards
<p></p>

Elemental equation for capacitors

26
New cards
term image

Elemental equation for resistors

27
New cards
term image

Elemental equation for inductors

28
New cards

T: 63% of final value, 2T: 86% of final value, 3T:95%, 4T:98%, 5T:99%

What are the percentages for the time constant in first order step responses?

29
New cards