Azzera filtri
Azzera filtri

can any one help me please

1 visualizzazione (ultimi 30 giorni)
Belal Arar
Belal Arar il 13 Ott 2016
Commentato: Belal Arar il 13 Ott 2016
  2 Commenti
Adam
Adam il 13 Ott 2016
I'm impressed you went to the effort of pasting in your homework question for others to answer for you.
Massimo Zanetti
Massimo Zanetti il 13 Ott 2016
The secret to solve the problem, is in the arab writing, is hidden there.

Accedi per commentare.

Risposta accettata

Image Analyst
Image Analyst il 13 Ott 2016
For #1, use data = xlsread(filename).
For 2 and 3, I don't know the difference between normalization of "decimal" method and "min-max" method. You might find the function mat2gray() helpful. It scales the min to 0, the max to 1, and linearly scales everything in between.
For #4, you can use conv(signal, kernel, 'same') where kernel is a vector of 1's that cover the 5 month range divided by the number of elements in that vector.
I don't know how to do the forecasting 3 months into the future. Perhaps you just need to use polyfit() to fit the last 5 months to a polynomial and then extrapolate out to 3 months from now. I'm attaching a polyfit demo.
  1 Commento
Belal Arar
Belal Arar il 13 Ott 2016
Thank you very much for this useful information

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Loops and Conditional Statements in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by