error using Polyfit, X and Y vectors must be the same size
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
plot(flip(AdjClose))
y = flip(AdjClose)
x = 1:503;
polyfit(y,x,0)
x is a 503*1 double and y is a 1*503 double. I wonder how can I make them the same size?
0 Kommentare
Akzeptierte Antwort
the cyclist
am 16 Feb. 2016
Bearbeitet: the cyclist
am 16 Feb. 2016
y = flip(AdjClose).'
1 Kommentar
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Statistics and Machine Learning Toolbox finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!