resample matlab table based on column

  Kiến thức lập trình

Suppose I have data in a table rawData:

ColA ColB ColC
137.326 -92.699 185.085
137.764 -91.964 185.400
138.189 -91.224 185.670
138.382 -90.140 185.985

I need to resample the data based on ColC at intervals of 0.1 and have the values in the other columns interpolated accordingly.

I’ve tried using resample in various invocations, but all I get are error messages that I don’t understand. (Matlab is new to me.)

The documentation has an example for non-uniform data, but I can’t seem to make it work.

Any suggestions?

LEAVE A COMMENT