Plotting future values of a signal using FNN and State Space Reconstruction method
This code could be able to calculate and plot the future values of an input signal (my case is an ECG signal) using the method of FNN in Sate Space Reconstruction technique for stochastic signal.
Let assume you have already determined the values of lag and dimension, now you want to predict N iterations ahead using parts of your signal as a training set and the other as a validating set, this code could can handle the task like so:
>> sig = load('testECG.txt'); % Raw data file, each numeric value in a row, no headers
>> dimension = 154; % Specify the dimension
>> delay = 1; % Specify the time lag
>> iterate = 1000; % Predict the next 1000 values
>> percent = 0.8 % Percentage for the training set
>> plot_forecast2 --> prediction line is red
Please notice that this code is just some function that I create for my personal purpose without any guaranteed accuracy. It is still a developing function and it has no purpose of commercialization.
If you are interested please help me improve the code.
Contact email: phamkhoinguyen1995@gmail.com
Cita come
Nguyen Pham (2025). Plotting future values of a signal using FNN and State Space Reconstruction method (https://it.mathworks.com/matlabcentral/fileexchange/55184-plotting-future-values-of-a-signal-using-fnn-and-state-space-reconstruction-method), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Compatibilità della piattaforma
Windows macOS LinuxCategorie
Tag
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.
| Versione | Pubblicato | Note della release | |
|---|---|---|---|
| 2.0 | Some minor changes to the title |
|
|
| 1.0.0.0 |
