Data Preprocessing - MATLAB & Simulink (original) (raw)

Clean, normalize, aggregate, and analyze data

Data preprocessing is the process of transforming raw data into a format that is easier to analyze. This process can include cleaning steps, such as handling missing values or smoothing noisy data. By cleaning, organizing, and summarizing the data, you can identify patterns, make predictions, and inform decision-making.

Apps

expand all

Apply Preprocessing Steps

Data Cleaner Preprocess and organize column-oriented data (Since R2022a)

Live Editor Tasks

expand all

Apply Single Preprocessing Step

Functions

expand all

Clean and Inspect Data

Missing Values

Outliers

Noise Reduction

Local Extrema and Change Points

Sampling

isuniform Determine if vector is uniformly spaced (Since R2022b)
isregular Determine if input times are regular with respect to time or calendar unit
retime Resample or aggregate data in timetable, and resolve duplicate or irregular times

Reshape, Sort, and Resize

Reshape Tables

rows2vars Reorient table or timetable so that rows become variables
stack Stack data from input table or timetable into one variable in output table or timetable
unstack Unstack data from one variable into multiple variables

Sort and Compare Elements

Resize

paddata Pad data by adding elements (Since R2023b)
trimdata Trim data by removing elements (Since R2023b)
resize Resize data by adding or removing elements (Since R2023b)

Normalize

Bin, Group, and Summarize

Bin

Pivot

pivot Summarize tabular data in pivoted table (Since R2023a)

Summarize

Topics

Clean Data

Summarize