i watch bloomberg everyday and i want to estimate a stock price stability, so i have to calculate the momentum & the rate of change. Example
p0=100 ; p1=120 ===> momentum=20 roc=0.2
Solution Stats
Problem Comments
1 Comment
Solution Comments
Show comments
Loading...
Problem Recent Solvers48
Suggested Problems
-
Project Euler: Problem 10, Sum of Primes
2125 Solvers
-
13701 Solvers
-
Create a vector whose elements depend on the previous element
801 Solvers
-
2297 Solvers
-
Sum the squares of numbers from 1 to n
260 Solvers
More from this Author12
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
It would help to mention that results have to be rounded to the 2nd decimal place.