Inflate Matlab script

SPONSORED LINKS

    Specification

  • Version:
  • File size: 0 KB
  • File name: inflate.m
  • Last update:
  • Platform: Windows / Linux / Mac OS / BSD / Solaris
  • Language: Matlab
  • Price:Freeware
  • Company: Amit Belani (View more)

Inflate script description:



Inflate is a Matlab script for Financial Modeling and Analysis scripts design by Amit Belani. It runs on following operating system: Windows / Linux / Mac OS / BSD / Solaris.
Inflate - Adjust for inflation using the CPI Inflation Calculator at BLS.gov.

Publisher review:
Inflate - Adjust for inflation using the CPI Inflation Calculator at BLS.gov. inflate(AMT,YEAR1,YEAR2) adjusts the value of the US dollar amount AMT for inflation as per the consumer price index, from what AMT was in year YEAR1 to what it was in year YEAR2. This is done using the CPI Inflation Calculator provided by the Bureau of Labor Statistics.AMT can be any dollar amount. YEAR1 and YEAR2 each can both be any year from 1913 to the current year. YEAR2 is optional, with its default value being the current year.EXAMPLES:inflate(100,1913,2007) returns 2055.5455. This indicates that $100 in the year 1913 had the same purchasing power as $2,055.55 in the year 2007.inflate(100,2007,1913) returns 4.8649inflate(1,1975,2000) returns 3.2007inflate(10.00,2001) returns 11.4906amts=[100,10,1000];years1=[2000,1925,1950];years2=repmat(2007,size(amts));amts_new=arrayfun(@inflate,amts,years1,years2) returns [118.1760, 116.2851, 8443.9419]REMARKS:Internet connectivity is required for this function to work.This function will stop working if BLS changes its CPI Inflation Calculator page in a way that is sensitive to this function.A "persistent" variable is used, so BLS is queried only once per session for every new combination of years.It is of course possible to perform adjustment calculations entirely offline - this is warranted in any production environment. This is possible as long as historical CPI or inflation rates are available. By querying BLS, this function takes a somewhat lazy approach.
Operating system:
Windows / Linux / Mac OS / BSD / Solaris

Related script downloads:

Latest script and internet news

IE 10 for Windows 8, comes with Adobe Flash support

IE 10 for Windows 8, comes with Adobe Flash support

After criticism received at Metro version of Internet Explorer 10 , initially offered no support for Adobe Flash technology, Microsoft has taken measures to correct this problem by working directly with Adobe to integrate the necessary components into the

Posted on: 25 May 2012 10:36 by A. Brown

Windows 8: boot to fast to furious

Windows 8: boot to fast to furious

Last year began to circulate on the Internet videos where Windows 8 systems boot in 7 seconds. Unfortunately, from this performance derives some problems.

Posted on: 25 May 2012 07:28 by A. Brown

Apple prepares iPhone 5 and iOS 6

Apple prepares iPhone 5 and iOS 6

New information coming from some sources close to Apple confirming that the Cupertino giant is testing two different models of iPhone, called internal iPhone5, 1 and iPhone 5.2. Apparently, both devices have a screen of 3.95 inches and a resolution of 113

Posted on: 24 May 2012 08:36 by A. Brown

Windows 8 estimates: 500 million users in 2013

Windows 8 estimates: 500 million users in 2013

Microsoft expects to launch a new wave of optimism with Windows 8. In a recent statement, Steve Ballmer, chief executive at Microsoft, estimates that Windows 8 will reach a total of about 500 million users by the end of 2013.

Posted on: 24 May 2012 08:25 by A. Brown

SPREAD THE WORD

User Rating

Inflate
Rating: 3.0 out of 5
Based on 2 ratings. 2 user reviews.

  • Currently 3.00 out of 5
  • 1
  • 2
  • 3
  • 4
  • 5