Your peers in the course Matlab for Communications at the Universität Duisburg-Essen create and share summaries, flashcards, study plans and other learning materials with the intelligent StudySmarter learning app.

Get started now!

Matlab for Communications

What is Matlab?

- high performance language for technical computing
- interactive system
- basic data element: array (doesn't require dimensioning)

- features toolboxes:
- family of application-specific solutions
- comprehensive collections of Matlab functions (M-files)

- matrix-based programming tool

Matlab for Communications

Matlab operations

- arithmetic and logical operations
- mathematical functions
- graphical functions
- input/output operations

Matlab for Communications

Building blocks of expressions

- Variables
- Numbers
- Operators
- Functions

Matlab for Communications

Variables

- doesn't require declarations or dimension statements
- names: consist of a string, which starts with a letter, followed by any number of letters, digits or underscores
- Matlab distinguishes between uppercase and lowercase letters

Matlab for Communications

Numbers

- conventional decimal notation
- scientific notation:
- uses letter e to specify power-of-ten scale factor

- Imaginary numbers:
- i or j as a suffix

Matlab for Communications

Operators (examples)

- + : Addition
- - : Subtraction
- * : Multiplication
- / : Division
- ' : Complex conjugate transpose
- () : Brackets to specify the evaluation order

Matlab for Communications

Functions

- standard elementary mathematical functions:
- e.g. sin, sqrt, exp, abs
- square root or logarithm of a negative number: appropriate complex result

- advanced mathematical functions:
- e.g. Bessel, Gamma functions

- List of elementary mathematical functions:
- Type: >> help elfun

- built-in functions:
- part of the Matlab core
- e.g. sqrt, sin

- functions, implemented in M-files:
- you can see the code and modify it
- e.g. gamma, sinh

Matlab for Communications

Addressing elements

A(n,m):

n-th element of the m-th column

Matlab for Communications

linspace function

- x = linspace(0,pi,101) = (0:0.01:1)*pi
- linspace(first_value, last_value, number of values)
- default number_of_values = 100

Matlab for Communications

colon notation

- (first_value:increment:last_value)
- v = (10:-2:0)
- v = 10 8 6 4 2 0

- default increment: 1

Matlab for Communications

Functions that generate basic matrices

- zeros(3,3)
- ones(3,3)
- rand(3,3):
- generates uniformly distributed random elements

- randn(3,3):
- generates normally (Gaussian) distributed random elements

Matlab for Communications

Array Orientation

Changing the Orientation with the transpose operator '

For your degree program Matlab for Communications at the Universität Duisburg-Essen there are already many courses on StudySmarter, waiting for you to join them. Get access to flashcards, summaries, and much more.

Back to Universität Duisburg-Essen overview pageStudySmarter is an intelligent learning tool for students. With StudySmarter you can easily and efficiently create flashcards, summaries, mind maps, study plans and more. Create your own flashcards e.g. for Matlab for Communications at the Universität Duisburg-Essen or access thousands of learning materials created by your fellow students. Whether at your own university or at other universities. Hundreds of thousands of students use StudySmarter to efficiently prepare for their exams. Available on the Web, Android & iOS. It’s completely free.

Best EdTech Startup in Europe

X

X
## Good grades at university? No problem with StudySmarter!

### 89% of StudySmarter users achieve better grades at university.

50 Mio Flashcards & Summaries

Create your own content with Smart Tools

Individual Learning-Plan