Info
此问题已关闭。 请重新打开它进行编辑或回答。
How to calculate new column values by using present_value and present_value -1?
1 次查看(过去 30 天)
显示 更早的评论
I have a 312x1 vector, called v(t). I want to calculate a new vector such that new(t) = v(t)/v(t-1). How do I go about this? How do I call the previous element of the vector?
(I am sorry if this is a basic question, but I am new to programming and would appreciate an help)
0 个评论
回答(1 个)
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!