In this post, we will see how to resolve Convert the struct to double in MATLAB while reading it from CSV file
Question:
I would like to read the CSV file in the MATLAB and slice the array.The link of the same file in CSV format: https://easyupload.io/kku924
I am reading the CSV file using this code in Python:
output:
Best Answer:
readtable
reads a CSV file and outputs a table
object. This is equivalent to a Pandas DataFrame
object in Python.Instead, use
readmatrix
, which reads a CSV file and outputs a plain numeric matrix.If you have better answer, please add a comment about this, thank you!
Source: Stackoverflow.com