COMPGROUPS.NET | Post Question | About | Groups | Contact | Register | Login



comp soft-sys matlab (18252)

comp os linux advocacy (5120)

comp soft-sys sas (3794)

comp lang python (2862)

comp soft-sys math mathematica (2857)

comp lang ruby (2511)

comp text tex (1716)

comp sys mac advocacy (1646)

comp lang c++ (1391)

comp lang javascript (1213)

comp lang perl misc (1187)

comp lang c (1179)

comp lang java programmer (911)

comp dsp (892)

comp sys mac system (871)

comp lang tcl (851)

comp databases ms-access (750)

comp arch fpga (743)

comp lang idl-pvwave (716)

comp software shareware announce (701)

comp lang php (689)

comp lang lisp (671)

comp sys sun announce (658)

comp arch embedded (619)

comp sys mac apps (595)

comp sys ibm ps2 hardware (528)

comp lang c++ moderated (524)

comp lang fortran (514)

comp unix shell (512)

comp os linux misc (501)

comp os plan9 (494)

comp databases oracle server (493)

comp unix solaris (487)

comp sys ibm pc games war-historical (481)

comp lang python announce (480)

comp os ms-windows programmer win32 (471)

comp databases mysql (410)

comp dcom sys cisco (405)

comp sys cbm (403)

comp arch (303)

comp sys ibm pc games action (301)

comp databases informix (274)

comp lang clipper visual-objects (267)

comp os vms (263)

comp lang perl announce (238)

comp lang xharbour (229)

comp graphics apps gnuplot (224)

comp realtime (216)

comp soft-sys ace (215)

comp lang ada (213)

comp protocols nfs (207)

comp protocols snmp (204)

comp parallel (202)

comp sys acorn announce (196)

comp sys ibm pc hardware systems (191)

comp protocols tcp-ip domains (191)

comp unix internals (187)

comp infosystems www browsers misc (183)

comp misc (182)

comp publish cdrom software (182)

comp dcom cabling (174)

comp mail mime (169)

comp std announce (169)

comp ai fuzzy (168)

comp ai edu (166)

comp soft-sys stat spss (156)

comp protocols kerberos (155)

comp databases filemaker (155)

comp sys apple2 (153)

comp admin policy (151)

comp databases postgresql committers (150)

comp databases ibm-db2 (149)

comp databases ms-sqlserver (131)

comp protocols dicom (129)

comp unix programmer (128)

comp security misc (123)

comp unix bsd freebsd misc (120)

comp graphics visualization (117)

comp cad cadence (117)

comp databases olap (116)

comp apps spreadsheets (114)

comp databases postgresql general (114)

comp lang vhdl (113)

comp lang java help (113)

comp ai neural-nets (112)

comp ai (111)

comp ai games (110)

comp dcom telecom (109)

comp client-server (108)

comp os linux announce (105)

comp cad microstation (105)

comp databases oracle marketplace (105)

comp soft-sys math scilab (102)

comp databases progress (102)

comp os linux networking (101)

comp database oracle (100)

comp graphics api opengl (99)

comp ai genetic (98)

comp protocols dns bind (97)

comp compilers (97)



New in This Group

Weibull with no failures
7 days ago

Very slow refresh of Matlab's windows
6/29/2010 6:36:43 PM

Image Processing: Isotropic Gaussian filter
5/13/2010 9:46:04 AM

Colormap "direction"
5/11/2010 2:01:05 PM

fast host sign up now
4/27/2010 12:13:52 AM

Vectorize multiple polyfits
3/18/2010 12:08:34 PM

This is a Usenet group -
12/14/2009 9:17:41 AM

Is the figures group not available when compiling on OS X?
12/8/2009 1:07:12 AM

Error message when starting Matlab R2009b on Windows 7
12/6/2009 5:51:51 PM

selecting specific rows of a data file for a 2D plot
11/28/2009 3:24:54 PM

Need a bond yield function Reply

Group: comp.soft-sys.matlab Subscribe Posted:3/10/2010 12:59:06 PM Replies:1 Views:83 Items(1)
Hello, i am a newbie at Matlab, i am searching for a function to cover my needs.

It is about bond yield, its maturity, face value and price.

A function that, y =yield(price, cr, maturity, cf, fv) that takes bond price, coupon rate, coupon frequency, maturity and face value, and returns the yield to maturity of the corresponding bond.

I could do something like
c./((1+y).^t)
(-t(m,:)./(1+y(m,:)))./((1+y(m,:)).^t(m,:))

but i couldn't solve the whole problem.

Is there any script that can be useful for y =yield(price, cr, maturity, cf, fv)? Thanks in advance.
"Ersen Selvi" <ersen.se...@yahoo.com>
3/10/2010 12:59:06 PM

yea man,
there is a script for the solution of this problem but unfortunately the script is at the cenktan hodja. Please email him :))))))) he will be more than happy to help his poor students :))))))
Cenktan Ozyildirim <u...@compgroups.net/>
3/12/2010 2:42:49 PM


Reply:
| or Email(not shown): Name: | Register | Login

Alert me when someone responds to this posting.










Newest Articles

Can do multi sort in iTunes 10??
22 min. 26 sec. ago

Disk / memory problems with 10.6.4 ?
55 min. 44 sec. ago

Fourier equation and getting out of memory error tia sal22
1 hour 7 mins ago

onkeypress event in tag
1 hour 18 mins ago

Getting notification that a subprocess is killed on Windows
1 hour 34 mins ago