Borrar filtros
Borrar filtros

Estimate the common logarithm of 10 using linear interpolation.

5 visualizaciones (últimos 30 días)
Interpolate between log 8 = 0.9030900 and log 12 = 1.0791812.
I just learned using Matlab and suddenly got this question to do in Matlab. Can someone help me? Your help is really needed and very appreciated.

Respuesta aceptada

Oleg Komarov
Oleg Komarov el 6 de Abr. de 2012
step = 0.1;
log10(8:step:12)
  3 comentarios
Oleg Komarov
Oleg Komarov el 7 de Abr. de 2012
Be aware it's linear interpolation:
p(1) + diff(p)/2 % midpoint
gives the same result as your example above.
Oleg Komarov
Oleg Komarov el 7 de Abr. de 2012
Uhm, happens I haven't seen you wanted linear interpolation.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Interpolation en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by