- Create and save new matrices into variables:
a = [1, 2, 3, 4]
b = [1 2 3; 4 5 6]
- Create new matrices using zeros(n), zeros(n,n), ones(n), ones(n,n):
c = zeros(2,1)
d = zeros(2)
e = ones(2,1)
f = ones(2)
-
Mini Matlab supports the following Matrix and Array operations:
- Addition:
a + 1 a + b
- Transpose (using '):
a'
- Inverse:
inv(a)
-
Concatenation:
- Horizontal concatenation:
A = [a,b]
- Vertical concatenation:
B = [a;b]
-
Saving and Loading workspace:
save > filename.mat
load < filename.mat
- View current workspace variables:
workspace
- Installation
Clone this repository
Navigate into the directory
[optional] create a virtual environment
run "pip install -r requirements.txt"
run "python app.py"
- Tested on
Python 2.7
Python 3.5