Main Content

depstln

Straight-line depreciation schedule

Description

example

Depreciation = depstln(Cost,Salvage,Life) computes the straight-line depreciation for an asset.

Input Arguments

collapse all

initial value of the asset, specified as a scalar numeric.

Data Types: double

Salvage value of the asset, specified as a scalar numeric.

Data Types: double

Depreciable life of the asset in years, specified as a scalar numeric.

Data Types: double

Output Arguments

collapse all

Depreciation, returned as a straight-line depreciation for an asset.

Examples

collapse all

This example shows how to calculate the straight-line depreciation for an asset that costs $13,000 with a life of 10 years. The salvage value of the asset is $1000.

Depreciation = depstln(13000, 1000, 10)
Depreciation = 1200
Introduced before R2006a