Skip to content

Instantly share code, notes, and snippets.

@sebjai
Last active August 26, 2023 04:31
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 7 You must be signed in to fork a gist
  • Save sebjai/574d46939eb6efe9e38fe3dbe0a3dc32 to your computer and use it in GitHub Desktop.
Save sebjai/574d46939eb6efe9e38fe3dbe0a3dc32 to your computer and use it in GitHub Desktop.
Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@HarmonicReflux
Copy link

Dear Sebastian,

Many thanks for sharing your analysis.

I yield an error in the second line as "MO" within 'MSFT_20141103.mat' is not defined.

data = sio.loadmat('MSFT_20141103.mat') # loads the data ok
MO=np.array(LOB['MO'][0][0]*1.0) # returns an error message as "MO" is not stored within data.

appearance_of_data_in_Matlab

Can you please share the link to the .mat file that you process in the notebook?

Many thanks,

Best,
Ben

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment