|Subject:||Re: Error with Octave|
|Date:||Tue, 11 Oct 2016 08:10:45 -0400|
On Oct 11, 2016 4:54 AM, "en4567" <address@hidden> wrote:
> Does that mean it wont' work on OCtave ?
Well, obviously what you're trying to do won't work. :)
Looks like you're trying to substitute a numerical range back in for the w in order to get an array you can feed to interp1. Unfortunately it seems the output of subs is still symbolic, and interp1 can't operate on symbolic objects.
I don't generally work with symbolics, so I don't know if (a) there's a way to do a type conversion for numerical symbolic variable. Or (b) if there's a symbolic interpolation function.
If you have reason to believe this should work (matlab compatibility, documentation, let us know)
|[Prev in Thread]||Current Thread||[Next in Thread]|