Borrar filtros
Borrar filtros

Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

Interpolation help please!

1 visualización (últimos 30 días)
Hudson McKinley
Hudson McKinley el 4 de Mayo de 2020
Cerrada: MATLAB Answer Bot el 20 de Ag. de 2021

Respuestas (1)

Jason Nicholson
Jason Nicholson el 5 de Mayo de 2020
clc; clear; close all;
t = [2 4 6 8 10];
x = [2 3 4 5 6];
y = [-1 2 1 3 -1];
F1 = griddedInterpolant(t,x);
F2 = griddedInterpolant(t,y);
F1(2.5)
F2(2.5)
% function plots
fplot(@(t) F1(t),[2,10])
figure;
fplot(@(t) F2(t), [2,10])
Click "Accept this Answer" if this helped you.

La pregunta está cerrada.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by