mirror of
https://github.com/davrot/pytutorial.git
synced 2025-04-19 05:36:42 +02:00
Update README.md
Signed-off-by: David Rotermund <54365609+davrot@users.noreply.github.com>
This commit is contained in:
parent
678a54b61d
commit
369fb7e489
1 changed files with 3 additions and 0 deletions
|
@ -130,6 +130,9 @@ eng = matlab.engine.start_matlab()
|
||||||
|
|
||||||
```python
|
```python
|
||||||
import numpy as np
|
import numpy as np
|
||||||
|
import matlab.engine
|
||||||
|
|
||||||
|
eng = matlab.engine.start_matlab()
|
||||||
|
|
||||||
a = eng.rand(100, 10)
|
a = eng.rand(100, 10)
|
||||||
print(type(a)) # --> <class 'mlarray.double'>
|
print(type(a)) # --> <class 'mlarray.double'>
|
||||||
|
|
Loading…
Add table
Reference in a new issue