Creating tables using loops
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Raahul Palanivel Uma
el 10 de Oct. de 2016
Comentada: Raahul Palanivel Uma
el 10 de Oct. de 2016
I am performing an Interpolation between a set of values (200,190,180,160) and I want to store the results in a single Matrix. I'm have used a for-Loop so that the Interpolation is done between all the values in my Input Array. If I interpolate 9 values between each Input value, I must have a Matrix with 41 values (200,199,198...160) as the end result. But I have 44 values in the Matrix since each time the Loop executes, the Interpolation is carried out between 200 & 190, then 190 & 180 and so on. I want the each column of Interpolation step to be replaced by the first column of the next Interpolation step. If anyone could suggest me a solution, it would be very helpful. I Need to know how to proceed with the incrementation and store the final result in a single Matrix. Thanks in advance Raahul
2 comentarios
Respuestas (1)
Pritesh Shah
el 10 de Oct. de 2016
In each Interpolation step, A(end)=[];
This should work.
0 comentarios
Ver también
Categorías
Más información sobre Multidimensional Arrays 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!