Why is this code not reading the csv file?
Show older comments
Hi I'm new to MatLab, and I have been trying to run the code inorder to create a PSD plot. However, I can't really figure out where or why it is falling down. Anyone have any ideas or know why? I have attached a picture of the code and the table in matlab...
Answers (1)
Alex Mcaulley
on 29 Oct 2019
The images are useless, but the error is clear, your variable tdata doesn't exist. I guess you need to change this line:
tdata = readtable(fname);
5 Comments
Ryan Marsden
on 29 Oct 2019
Alex Mcaulley
on 29 Oct 2019
Edited: Alex Mcaulley
on 29 Oct 2019
What is the error know? Please, copy-paste the full error text (Note that we don't have the csv file to test it)
Ryan Marsden
on 30 Oct 2019
Ryan Marsden
on 30 Oct 2019
Ryan Marsden
on 30 Oct 2019
Categories
Find more on Spectral Estimation in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!