Advertisement
makispaiktis

Course 2 - Read matrices and timetables

Aug 31st, 2023
1,095
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MatLab 0.22 KB | None | 0 0
  1. clear all
  2. close all
  3. clc
  4.  
  5. % 1. Read matrix
  6. harp = readmatrix("harp.csv")
  7. plot(harp)
  8.  
  9. % 2. Read timetable (use fs)
  10. % Import data into a timetable
  11. tbl = readtimetable("harp.csv", "SampleRate",50)
  12. plot(tbl,"Var1")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement