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

8 次查看(过去 30 天)
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

回答(1 个)

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

类别

Help CenterFile Exchange 中查找有关 Sources 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by