workspace vector into cftool Custom Equation

1 visualización (últimos 30 días)
Jacob Kirkensgaard
Jacob Kirkensgaard el 10 de Feb. de 2012
Hello
I want to use cftool to fit an experimental dataset. Part of the fitting expression is a background measurement which should be scaled by some unknown amount, so the Custom Equation I would like to use looks something like this
A + B*BackgroundVector + MODEL
I have tried making BackgroundVector a function which loads the data and returns the vector but I always get an error that the matrix dimensions does not match. How can I load a workspace vector into an expression in cftool? I tested all functions outside the cftool and everything seems fine.
Thanks, Jacob

Respuestas (0)

Categorías

Más información sobre Interpolation en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by