To plot a polynomial with z^(5/2) exponent in MATLAB, you can first define a symbolic variable 'z', create a polynomial expression using 'z' with the desired exponent, and then plot the expression over the desired range of values using the 'fplot' function.
Here's an example code that creates a polynomial expression, sets the range of values to be plotted, and then generates the plot:
main.m328 chars7 lines
This will generate a plot of the polynomial function with 'z' values from 0 to 5 on the x-axis and corresponding function values on the y-axis.
Note that the 'fplot' function requires the symbolic toolbox, so you may need to have that installed to run this code.
gistlibby LogSnag