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:
interpolate?

Subject: interpolate?

From: Elnaz

Date: 21 Jun, 2013 16:30:28

Message: 1 of 2

Hi all,

I have got a curve (BER curve) through running very long simulations. The curve only goes to ber = 1e-4 and I need to get it to reach 1e-7 which is almost impossible if I want to do it with simulations. Therefore, since the curve should be smooth and continuous I want to use MATLAB to compute the rest. The curve doesn't break; therefore, I think, there is only one correct answer. How best should I do this in MATLAB?

Thanks,
Elnaz

Subject: interpolate?

From: John D'Errico

Date: 21 Jun, 2013 22:41:15

Message: 2 of 2

"Elnaz " <ebsadeghian@gmail.com> wrote in message <kq1v34$2s0$1@newscl01ah.mathworks.com>...
> Hi all,
>
> I have got a curve (BER curve) through running very long simulations. The curve only goes to ber = 1e-4 and I need to get it to reach 1e-7 which is almost impossible if I want to do it with simulations. Therefore, since the curve should be smooth and continuous I want to use MATLAB to compute the rest. The curve doesn't break; therefore, I think, there is only one correct answer. How best should I do this in MATLAB?
>

Sorry, but you are NOT asking to interpolate. You are asking
to extrapolate, a far more difficult thing, especially if you
intend to do so intelligently.

Are you trying to extrapolate far? Well possibly so. You are
trying to go quite a ways in terms of a log scale. BTW,
there is NOT only one correct answer. There are infinitely
many interpolants for any set of data, so there are infinitely
many ways to extrapolate that same set of data.

I'd suggest using a tool like my SLM toolbox, where you
can build a curve that goes as far as you need it to go,
putting a knot down at 1e-7. (Using a log scale is a good
idea here, so interpolate based on log10(x).) The nice
thing about SLM is you can build in the information
that you have about the shape of your curve.

http://www.mathworks.com/matlabcentral/fileexchange/24443-slm-shape-language-modeling

Note that SLM is NOT in an interpolation tool. It does
fitting of your data.

John

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