Main Content

depstln

Straight-line depreciation schedule

Description

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

example

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

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.

Version History

Introduced before R2006a