Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Creating Matrices in Matlab: An Example and Transpose, Study notes of Matlab skills

An example of how to create a matrix in matlab, with two different methods, and explains how to find the transpose of a matrix. It is suitable for students in engineering, mathematics, or computer science who are learning matlab.

Typology: Study notes

2021/2022

Uploaded on 09/12/2022

thehurts
thehurts 🇺🇸

4.5

(11)

219 documents

1 / 2

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Creating matrix in Matlab
To great matrix in matlab ,it is very similar to creating vectors except we need
to separate each row as in example:
Example : A=[4 7 0
5 1 8]
We can inter elements in another way as in example:
Example: Type the matrix b =[1 3 5
2 7 9
−7 1 0]
If we want to find the transpose of matrix b
pf2

Partial preview of the text

Download Creating Matrices in Matlab: An Example and Transpose and more Study notes Matlab skills in PDF only on Docsity!

Creating matrix in Matlab

To great matrix in matlab ,it is very similar to creating vectors except we need to separate each row as in example:

Example : A=[^4 7 5 1 8

]

We can inter elements in another way as in example:

Example: Type the matrix b =[

]

If we want to find the transpose of matrix b