This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
For installation see: | |
https://uk.mathworks.com/help/matlab/matlab_external/install-the-matlab-engine-for-python.html | |
In order to install matlab.engine in non-default location, | |
e.g. conda environment, see: | |
https://uk.mathworks.com/help/matlab/matlab_external/install-matlab-engine-api-for-python-in-nondefault-locations.html | |
(My advice is to install it to a base environment, | |
installing to different environments seems to be buggy) | |
If this doesn't work, try `pip install -e .` from *matlabroot\extern\engines\python* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from typing import (Union, | |
Optional, | |
Tuple) | |
import numpy as np | |
def projection(latitudes: np.ndarray, | |
longitudes: np.ndarray, | |
*, |
NewerOlder