Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
Plot 3D yield curve

Subject: Plot 3D yield curve

From: Ben

Date: 25 Aug, 2012 19:02:11

Message: 1 of 2

I am trying to plot 3D yield curve to show the evolution of yield curve over time,
X-axis= Time
Y-axis= Term Structure (so an upward sloping line)
Z-axis=Yields of all maturities moving through time

but every time, Matlab shows error message. "x, y, z" should be equal length. How to work this out. thanks.

Subject: Plot 3D yield curve

From: Ben

Date: 26 Aug, 2012 05:40:12

Message: 2 of 2

"Ben " <fishing518@yahoo.com> wrote in message <k1b7fj$o34$1@newscl01ah.mathworks.com>...
> I am trying to plot 3D yield curve to show the evolution of yield curve over time,
> X-axis= Time
> Y-axis= Term Structure (so an upward sloping line)
> Z-axis=Yields of all maturities moving through time
>
> but every time, Matlab shows error message. "x, y, z" should be equal length. How to work this out. thanks.


figure it out by myself.

Tags for this Thread

No tags are associated with this thread.

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us