Lesson 5 - Matrix Operations in Python

preview_player
Показать описание
This lesson teaches you how to work with Matrices in Python.
The following areas are covered:
# Creating a Matrix
# Generating a matrix using the arange() function
# Transposing a matrix
# Reshaping a matrix
# Matrix multiplication vs the dot() function
# Matrix addition and subtraction

Рекомендации по теме
Комментарии
Автор

You can use the shift-enter to run the chunk

fealgu
Автор

I think it’s “may”-“tricks” not “mah”-“tricks”. Otherwise, this is very helpful!!

jonathanweininger
Автор

Numpy, numpy, is there something independent code in Python to sort multi-dimension matrix without numpy?

dinja
Автор

what is the equivalent steps for ( Dim a(3, 4) / for i=1 to 3 / for j=1 to 3 / input A(i, j) / next i, j ) in Python ?

faisalsaeed
Автор

i noticed you never added and subtracted the matrices

joneye
Автор

ppl can't create a matrix without numpy...

arnoldwolfstein