How to Integrate a Function in MATLAB

Поділитися
Вставка
  • Опубліковано 5 жов 2024
  • How to Integrate a Function in MATLAB
    An example of using Matlab symbolic variables and the int function to integrate a function. syms requires installation of the Symbolic Math Toolbox with may not already be included with your version of MATLAB. If you get an error message, just click on the link to get the Add-On Symbolic Math Toolbox
    www.mathworks....

КОМЕНТАРІ • 16

  • @berkleyhuffman48
    @berkleyhuffman48 Рік тому +2

    Im in my 3rd year of aerospace engineering and this just helped me overcome an error that I was not finding any solution for for the past hour. Saved me plenty of time and headaches. Much appreciated

  • @theturkish1373
    @theturkish1373 2 роки тому +2

    Thank you! You cleared a lot in my mind.

  • @Chris_3dx
    @Chris_3dx 3 роки тому +2

    This was really helpful! all other videos on UA-cam are too outdated XD

  • @BoogeymanChannel
    @BoogeymanChannel 3 роки тому +4

    Mam, please add channel video tags so that your contribution can reach to more students like me😄

    • @PainlessProgramming
      @PainlessProgramming  3 роки тому

      Thanks for the suggestion! I will investigate and try to add them.

  • @hakanberat
    @hakanberat 3 роки тому

    You explained great, thank you very much

  • @thisi47music
    @thisi47music 2 роки тому +1

    Hi, thanks !

  • @topcat0102
    @topcat0102 3 роки тому +1

    Hello, thank you for this invaluable help. Obviously you created the array x between 1 and 5 with step 0.1 but then deleted those lines before typing the integration lines. Does x need to be defined as an array for the "int" function in matlab to work? Thanks

    • @PainlessProgramming
      @PainlessProgramming  3 роки тому +1

      The plotting part was just to visualize the curve that you are trying to calculate the area under. It's not a necessary part of using the int function. So no, x does not need to be setup as an array before you use int

    • @topcat0102
      @topcat0102 3 роки тому

      @@PainlessProgramming thank you for the clarification, great video

  • @bacardilove1981
    @bacardilove1981 2 роки тому

    hello there could u pls help me with something. i have a mathematica code and i cant make it work in matlab....

  • @MrCompenso
    @MrCompenso 3 роки тому

    This is so recent, and yet it's already outdated. My matlab keeps asking for a handle.

    • @PainlessProgramming
      @PainlessProgramming  3 роки тому

      What is the exact command you are typing that isn’t working? Do you know what version of MATLAB you are using?