Results 1 to 3 of 3

Thread: V. simple Matlab plotting question

  1. #1
    Member
    Joined
    Mar 2016
    From
    Australia
    Posts
    170

    V. simple Matlab plotting question

    Hi,

    As part of a bigger question I have to create a simple plot in Matlab.

    Could anyone tell me where I am going wrong in the simple script below:

    %Test Plot
    x=-2:0.01:4;
    D=sqrt(x.^2+(x.^2-2*x-4).^2);
    Plot(x,D);

    Kind regards
    Beetle
    Follow Math Help Forum on Facebook and Google+

  2. #2
    MHF Contributor
    Joined
    Nov 2013
    From
    California
    Posts
    5,605
    Thanks
    2367

    Re: V. simple Matlab plotting question

    please just put questions in a single forum.

    they'll be seen
    Follow Math Help Forum on Facebook and Google+

  3. #3
    Member
    Joined
    Mar 2016
    From
    Australia
    Posts
    170

    Re: V. simple Matlab plotting question

    My apologies
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. Plotting inequality in matlab
    Posted in the Math Software Forum
    Replies: 0
    Last Post: May 24th 2012, 03:03 AM
  2. matlab plotting graph need help
    Posted in the Math Software Forum
    Replies: 1
    Last Post: Aug 6th 2010, 11:27 PM
  3. Matlab - Plotting Circles
    Posted in the Math Software Forum
    Replies: 1
    Last Post: Feb 16th 2009, 09:28 AM
  4. MATLAB: Plotting MATRIX?
    Posted in the Math Software Forum
    Replies: 3
    Last Post: Jan 25th 2009, 01:21 PM
  5. MATLAB - plotting a quadratic
    Posted in the Math Software Forum
    Replies: 2
    Last Post: Jun 15th 2008, 05:25 PM

Search Tags


/mathhelpforum @mathhelpforum