How to interpolate a matrix
53 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Harry klop
el 26 de Abr. de 2022
Comentada: Voss
el 26 de Abr. de 2022
Hi,
I'm trying to interpolate this matrix, so that I gain an extra 10 data points between each row. I do not want any more data points between the columns. Please could somone help with what I can use to do this?

0 comentarios
Respuesta aceptada
Voss
el 26 de Abr. de 2022
data = randi(100,8)
n = size(data,1);
data_interp = interp1(1:n,data,linspace(1,n,11*(n-1)+1))
isequal(data_interp(1:11:end,:),data) % every 11th row is the original data
2 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Interpolation en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!