To plot a symbolic function in Matlab, you first need to convert the symbolic function to a numeric function that Matlab can plot. Here's how you can do it:
main.m297 chars9 lines
In this example, f is a symbolic function, and f_numeric is its numeric equivalent. By using fplot function, you can now plot the numeric function f_numeric in the specified range.
gistlibby LogSnag