Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Make a integral with matlab

  1. Oct 27, 2008 #1

    i have a project to make a integral with matlab
    when i make a code i have an error. this is the code

    f = str2double(get(edit1,'string'));
    a = str2double(get(edit2,'string'));
    b = str2double(get(edit3,'string'

    chose = get(popup1,'value');
    switch pilihan
    case 1
    case 2


    if a >= b
    disp('you.re wrong!!!!!!');

    and i get error in

    ??? Undefined function or method 'x' for input arguments of type 'double'.

    Error in ==> quad at 77
    y = f(x, varargin{:});

    Error in ==> luas1b at 13

    ??? Error while evaluating uicontrol Callback

    and i want to ask 1 more if i want to plot with unknown function do you know what is the code
  2. jcsd
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Can you help with the solution or looking for help too?
Draft saved Draft deleted

Similar Discussions: Make a integral with matlab
  1. An integral (Replies: 2)