Let's say I have an anonymous function f = @(x) x^2 , and I want to convert it to a symbolic function. Is there a built-in command for this?
f = @(x) x^2
You can just pass it to SYM:
f = @(x) x^2; g = sym(f)
But then most symbolic functions do this automatically when they receive a function handle ( subs , int , etc.)
subs
int
Source: https://habr.com/ru/post/919644/More articles:IPhone app crashes right after upgrade - iosAlways run proguard before Android dex'ing in Eclipse - javaHow should I erase Django validation errors using Bootstrap? - cssCross-platform application WPF, ASP.NET, Silverlight, WP7, XAML - c #https://translate.googleusercontent.com/translate_c?depth=1&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/919643/libgdx-setorigin-and-setposition-not-working-as-expected&usg=ALkJrhjVXXWrfNAkdoTaDtMl1Oiy0uWSAQShould I explicitly bind regular classes with Autofac? - c #Addto a node in SVG with D3 - d3.jsHow to control the expiration of a trial version for an Android app? - androiddecodeURI not working fully - javascriptprocessing seq until a true function is true - clojureAll Articles