Skip to content

Instantly share code, notes, and snippets.

@sebjai
Last active November 1, 2024 13:53
Show Gist options
  • 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
Loading
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