Filter löschen
Filter löschen

Inputting data into LSTM neural network for prediction

6 Ansichten (letzte 30 Tage)
Marius TROICIU
Marius TROICIU am 9 Nov. 2022
Beantwortet: Khushboo am 10 Nov. 2022
how do I insert/import a series of data from an excel file (energy consumption data) to make a run in the LSTM neural network for consumption prediction. where/how to import? can the data be imported or entered manually? thx

Antworten (1)

Khushboo
Khushboo am 10 Nov. 2022
Hello,
You can import data directly from an excel file to MATLAB instead of entering it manually. This can be done as follows:
% [Name of variable in matlab to hold data] = xlsread('File name+extension')
[var1, var2, var3] = xlsread('dataset.xlsx');
You can read more about xlsread here. If you prefer to inport the excel sheet using GUI, you can also refer to this.
Hope this helps!

Kategorien

Mehr zu Get Started with MATLAB finden Sie in Help Center und File Exchange

Produkte


Version

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by