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

expand all

Compute the Depreciation for an Asset Using the Sum of Years' Digits Method

This example shows how to calculate the depreciation for an asset using the sum of years' digits method where the asset is $13,000 with a life of 10 years. The salvage value of the asset is $1000.

Sum = depsoyd(13000, 1000, 10)'
Sum =

   1.0e+03 *

    2.1818
    1.9636
    1.7455
    1.5273
    1.3091
    1.0909
    0.8727
    0.6545
    0.4364
    0.2182

Was this topic helpful?