Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

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

collapse all

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

Related Examples

Introduced before R2006a

Was this topic helpful?