Use polyfit with cell arrays
11 views (last 30 days)
i am not able to use polyfit with cell arrays; suppose we have 2 cell arrays A and B with the same number of elements and with cells of non-uniform size. It is possible to obtain the graphical trend of the data in this way:
With the same logic I would like to apply polyfit to each curve using the code:
but i receive the error "Unable to perform assignment because brace indexing is not supported for variables of this type."
How can i do that?
Thank you for the help