- Signal Labeler app (https://www.mathworks.com/help/signal/ref/signallabeler-app.html) See details at https://www.mathworks.com/help/signal/ug/extract-signal-features.html. After extraction, you can export features to the MATLAB® Workspace or to the Classification Learner app and save features as labels in your labeled signal set. For more information, see Export Features and Save Features as Labels.
- Diagnostic Feature Designer app (https://www.mathworks.com/help/predmaint/ref/diagnosticfeaturedesigner-app.html). Once you have defined your features, you can export your most effective features directly to Classification Learner for more insight into feature effectiveness and for algorithm training.
How would I use Classification algorithms to identify waveforms and assign them a label?
3 views (last 30 days)
Show older comments
Hello, I have data with waves and inverse waves, how would I use a classification algorithm to differentiate which is which? I would like to show that negative to positive is going 'up' and positive to negative is going 'down'. I attempted to use MATLAB's Classification Learner App, but I did not get the results I had wanted. I have attached pictures below of the waveform, the data I seperately have for 'Up' and 'Down' and the result of the Classification algorithm when I use the complex waveform as the response and the up and down data as predictors.
I am able to solve this problem manually by using selection structures, but I would like to know if it would be possible to carry out with a ML algorithm. I'm admittedly not as well versed in them as I would like to be so I would greatly appreciate it if you could tell me what steps I should take.



0 Comments
Answers (1)
Drew
on 19 Oct 2022
To fully answer your question would require more info about your application and data. From what you wrote, perhaps you have a two-class classification problem where you want to classify a set of waves into one of two classes: "waves" and "inverse-waves". In that case, you will need training data consististing of a set of waves with class labels, and a separate test set of wavs with class labels. For each wave observation, you will need to extract a feature vector, or feature vectors, from the waves.
There are lots of ways to extract feature vectors from timeseries data. To make the feature extraction process interactive you can use an app such as Signal Labeler or Diagnostic Feature Designer. Once you have extracted features, you can send the extracted features to the Classification Learner app:
0 Comments
See Also
Categories
Find more on AI for Signals in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!