Main Content

Automate Feature Extraction Using MATLAB Code from the App

Generate MATLAB® code in the app that reproduces the computations for your selected features, processed variables, and ranking

The Diagnostic Feature Designer app lets you work with ensemble data interactively and experiment with various processing and feature options. Once you have determined which features work best, you can generate code that reproduces your computations. This code allows you to apply the same computations to new or expanded ensemble data. You can use this code directly, or modify the code to suit your application. For more information on code generation in the app, see Automatic Feature Extraction Using Generated MATLAB Code.

Apps

Diagnostic Feature DesignerInteractively extract, visualize, and rank features from measured or simulated data for machine diagnostics and prognostics

Functions

expand all

workspaceEnsembleManage ensemble data stored in the MATLAB workspace using code generated by Diagnostic Feature Designer
findIndexFind the workspace ensemble member indices for members that match a specified variable name and value
readMemberReturn ensemble member data based on the member index
refreshUpdate a workspace ensemble with partitions of modified or added data computed in parallel processing
writeMemberWrite data to a specific workspace ensemble member
readallRead all data in datastore
readFeatureTableRead feature values, independent variables, and condition variables from an ensemble data set into a table
readMemberDataExtract data from an ensemble member given a path
resetReset datastore to initial state
uniqueUnique values in array
writeToLastMemberReadWrite data to member of an ensemble datastore
frameintervalsCreate frame intervals based on frame settings
joindataMerge two frame tables using an outer join
readFrameIntervalsExtract frame segments from an ensemble member
effectivefsEffective sampling rate of a time vector
time2numConvert duration or datetime array into numeric vector with the specified time unit
anova1One-way analysis of variance
bhattacharyyaDistanceOne-dimensional Bhattacharyya distance between two independent data groups to measure class separability
kruskalwallisKruskal-Wallis test
perfcurveReceiver operating characteristic (ROC) curve or other performance curve for classifier output
ranksumWilcoxon rank sum test
relativeEntropyOne-dimensional Kullback-Leibler divergence of two independent data groups to measure class separability
ttest2Two-sample t-test
correlationWeightedScoreAdjust feature ranking scores using correlation factor

Topics