10.05.2018 Views

Metodos-Numericos-Basicos-Para-Ingenieria

Metodos-Numericos-Basicos-Para-Ingenieria

Metodos-Numericos-Basicos-Para-Ingenieria

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Asesorías en Matemáticas, Física e Ingeniería<br />

Métodos numéricos básicos para ingeniería<br />

5<br />

Algoritmo 1.1: Interpolación lineal en Matlab<br />

Entradas: valor a interpolar x, vectores conteniendo los puntos X y Y.<br />

Salidas: valor interpolado y.<br />

function [y]=IntLineal(x,X,Y)<br />

for i=1:numel(X)-1<br />

if x>=X(i) && x

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!