Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Option Pricing?
Date: Tue, 7 Aug 2007 18:38:44 +0000 (UTC)
Organization: Nationwide Mutual Insurance Co.
Lines: 23
Message-ID: <f9ae7k$r18$1@fred.mathworks.com>
References: <f9aa45$dka$1@fred.mathworks.com> <1186510555.983456.298650@l70g2000hse.googlegroups.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-01-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1186511924 27688 172.30.248.36 (7 Aug 2007 18:38:44 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Tue, 7 Aug 2007 18:38:44 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 642723
Xref: news.mathworks.com comp.soft-sys.matlab:422817



Thanks for your response.

What if I want to assign the put price to a variable, i.e. 
b=Putprice...?

Thanks
 Screwdriver223 <david.kolin@gmail.com> wrote in message 
<1186510555.983456.298650@l70g2000hse.googlegroups.com>...
> On Aug 7, 1:28 pm, "stephen " <huan...@nationwide.com> 
wrote:
> > By using the function below in ML, you get both the 
call
> > and put prices.
> >
> > [CallPrice, PutPrice] = blsprice(Price, Strike, Rate,
> > Time, Volatility, DividendRate)
> >
> > Is there anyway to get the put prices only?
> >
> [PutPrice, PutPrice] = blsprice(Price, Strike, Rate,
> Time, Volatility, DividendRate)
>