Skip to Main Content Skip to Search
Product Documentation

depsoyd - Sum of years' digits depreciation

Syntax

Sum = depsoyd(Cost, Salvage, Life)

Arguments

Cost

Cost of the asset.

Salvage

Salvage value of the asset.

Life

Depreciable life of the asset in years.

Description

Sum = depsoyd(Cost, Salvage, Life) calculates the depreciation for an asset using the sum of years' digits method. Sum is a 1-by-Life vector of depreciation values with each element corresponding to a year of the asset's life.

Examples

The cost of an asset is $13,000 with a life of 10 years. The salvage value of the asset is $1000.

Sum = depsoyd(13000, 1000, 10)'

returns

Sum =
       2181.82
       1963.64
       1745.45
       1527.27
       1309.09
       1090.91
        872.73
        654.55
        436.36
        218.18

See Also

depfixdb | depgendb | deprdv | depstln

  


Free Interactive Computational Finance CD

View demos and recorded presentations led by industry experts.

Now On Demand
Network with industry peers and learn the latest applications of the leading software product for computational finance.

 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS