How do I create another column in a table which basically divides a T+1 / T number?
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
I have a table (let's say X) with various colums. The first column is based on date.
I thought I could just do this;
DataVTAQ.Ret = (DataVTAQ(1,6)./(DataVTAQ(2,6)))
So I create a new column (RET), which is nothing else but the % change between 2,6 and 1,6 (a lag of t-1) basically.
How would one go about that?
0 comentarios
Ver también
Categorías
Más información sobre Define Shallow Neural Network Architectures en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!