How to select Specific Data from Workspace Object or Timeseries structure?

11 views (last 30 days)
Hi
I have a simple problem. I have loaded IMU data with noises from Simulink to Matlab workspace in timeseries. Now I want to select one column from this Timeseries structure located in workspace so that I can analyze the signal in frequency domain with FFT . How Can I extract that column (For example column 2) from time series structure?
Picture 1 shows Simulink structure, Picture 2 shows the Matlab interface
Helps would be much appreciated
PICTURE 1
PICTURE 2

Answers (1)

Mete Soylu
Mete Soylu on 15 Feb 2020
Okay I found myself . It may be helpful to someone .
The command for extracting specific column 2 is:
AccData2= SimAccelerometer.Data(: , 2) ;

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!