Plotting of a quadratic equation ant its differentials using specifiers
Show older comments
How to plot the given equatio and its differentials wrt x using specifiers y = 7*x^2+3*x+4
Answers (1)
KSSV
on 5 Feb 2021
0 votes
It is your home work and a simple problem; you have to try on your own. Follow the steps.
- Define minimum x and maximum x i.e. (x0,x1)
- USe linspace to generate x array. Read about linspace.
- DEfine your function. USe lement by element operators like .^2, .*
- Define your derivative function manually.
- USe plot.
Categories
Find more on Quadratic Programming and Cone Programming in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!