Element by element interpolation
Mostrar comentarios más antiguos
I have three matrices A,B,C C is being passed to a function in the following loop
for i=0:n
func(C)
end
At i =0 C = A and at i = n C = A+B
I'm pretty sure that I'm supposed to use interpolation but I'm not sure how to go about doing that
Respuesta aceptada
Más respuestas (1)
Image Analyst
el 3 de Abr. de 2022
Are they 1-D vectors or 2-D matrices? And I don't see "A and B in a for loop" as you said. Why are they missing? Is this your homework? Did you try
i = 0:n;
C = A + (i/n) .* B
Categorías
Más información sobre Interpolation en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!