how to interpolate multiple shape data set

1 view (last 30 days)
I got this error:
Unable to perform assignment because the size of the left side is 1-by-1-by-108-by-4 and the size of the right side is 106-by-4.
Usually I use interp1 to have the same size data that comes out of the function. But the data I have (in attachment) is different, it is x an y axis of multiple shapes and I never handeled this type of data before. Please help if you know how to do it.

Answers (1)

Rishi
Rishi on 4 Jan 2024
Hey Asliddin,
I understand from your query that you wish to know how to interpolate data which has multiple dimensions. You can use the MATLAB function 'interpn' for this. You can learn more about the function from the following documentation:
Hope this helps!
  1 Comment
Asliddin Komilov
Asliddin Komilov on 4 Jan 2024
thanks, I know the concept of the 'interp' but I don't know what is 'x' or 'v' within my data.

Sign in to comment.

Categories

Find more on Interpolation in Help Center and File Exchange

Products


Release

R2021a

Community Treasure Hunt

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

Start Hunting!