About 2,110 results
Open links in new tab
  1. fplot - Plot expression or function - MATLAB - MathWorks

    fplot(f) plots the curve defined by the function y = f(x) over the default interval [-5 5] for x. fplot(f,xinterval) plots over the specified interval. Specify the interval as a two-element vector of the form [xmin xmax]. = funy(t) over the default interval [-5 5] for t. fplot(funx,funy,tinterval) plots over the specified interval.

  2. Making graph for quadratic function - MATLAB Answers

    Apr 6, 2015 · I got my quadratic formula to run and loop(Ex 4.2), but now I've been asked to have a function to plot the graph of the formula. These are my instructions: Meet all the requirements of Ex 4.2 • Prompt the user for the vector of X values at which the quadratic will be evaluated.

  3. Plotting Quadratic equation MATLAB - MATLAB Answers - MATLAB

    Oct 30, 2019 · Learn more about quadratic equation, graph, assignment.

  4. How to plot a quadratic function in Matlab (with differently …

    Dec 9, 2015 · To start, plot accepts multiple input data series (e.g. plot(x, y, x, y2);). The documentation also links you to hold, which retains plots in the current axes so that new plots added to the axes do not delete existing plots. The interesting part …

  5. matlab - Plotting solution for quadratic equation - Stack Overflow

    Oct 29, 2016 · This is my primer time using matlab especially plotting. I try to plot the solutions for y = x^2 − x − 2 like in here. But I don't know how to model this plot in matlab (it makes sense because the solutions must be computed first) but shouldn't the …

  6. Matlab - How to plot 2d Quadratic equation - Stack Overflow

    Nov 3, 2016 · Now I'm trying to plot a 2d quadratic equation. Such as ax^2 + by^2 + cxy + dx + ey + f = 0. The way I try is to use x = linspace(-1,2,100); and transform the equation to ...

  7. plot a quadratic equation - MATLAB Answers - MATLAB Central …

    Feb 29, 2016 · I am to plot a quadratic equation and see how it looks . This is my code : x=[-1:0.05:3]; f=(3*(x.^2))-(2*x); plot(f) xlim([-3 90]); when i check online graphs fro this equation mine doesnt e...

  8. Plotting Quadratic equation MATLAB - MathWorks

    Plotting Quadratic equation MATLAB. Learn more about quadratic equation, graph, assignment Hi, I really would like help on plotting a quadratic equation, in the form of ax^2+bx+c I’ve been told to make a neat graph by “Center x axis around the extrema of the function (at x=-b/(2a))...

  9. plot a quadratic in matlab - gistlib

    Suppose we have a quadratic equation y = ax^2 + bx + c, we can plot this curve in MATLAB using the following steps: Define the quadratic equation coefficients a, b, and c. Define the range of x values. Calculate the corresponding y values for each x value using the quadratic equation. Plot the calculated values of x versus y using the plot ...

  10. How to plot a quadratic equation? - MATLAB Answers

    Feb 9, 2017 · Use surf to plot the two surfaces created from those two branches of the sqrt. (Use hold on in between the calls to surf, to overlay the two surfaces in one plot.) Really pretty easy. Looks like 6 lines of code.

  11. Some results have been removed
Refresh