Educate yourself
Educate yourself
  • 41
  • 329 360
Solve First Order Ordinary Differential Equation in MATLAB using ode45
In this video, we will learn how to use ode45 command in MATLAB to solve a differential equation. We show a simple example to demonstrate the solution. At the end, we plot the results to show the solution using ode45 command.
In ode45, the number 45 refers to the runge-kutta (4,5) numerical method.
Переглядів: 68 570

Відео

Numerical Derivative with a diff Command in MATLAB
Переглядів 16 тис.3 роки тому
In this video, we will learn how to take a numerical derivative in MATLAB using the diff command. if you are unsure about the diff command check out this video: ua-cam.com/video/ZexUBlu3Vnk/v-deo.html Here, we will show a few examples of how to calculate a derivative and also compare it with an analytical derivative function. We also plot the function and the derivative in a same plot with two ...
How diff Command Works in MATLAB
Переглядів 9 тис.3 роки тому
In this video, we will learn how to use a diff command in MATLAB. diff command calculates difference between two adjacent elements of an array and creates another array with that. The second order diff command calculates the differences of the difference array. diff command is really useful to calculate numerical derivative in MATLAB. we will see multiple examples to understand the working prin...
Numerical Integration Using Trapezoidal Rule in MATLAB
Переглядів 17 тис.3 роки тому
In this video, we will see how to numerically integrate any data using MATLAB. We have used the command trapz in MATLAB which uses trapizoidal rule to calculate area under any curve. We have also used cumtrapz to calculate cumulative integral over a range. In the analytical example, I have mistakenly flipped the terms so it looks like -2, but the answer to the integral should be 2.
Interpolation in MATLAB
Переглядів 15 тис.3 роки тому
In this video, we learn how to calculate interpolation in MATLAB. The basic example clarifies the concept of interpolation and shows how can it be calculated using the command interp1 in MATLAB for a one-dimensional data set. There are various methods to perform interpolation such as - linear, cubic, nearest etc. Here, we talk about the linear regression and show how to define other methods to ...
Regression Analysis cftool
Переглядів 2 тис.3 роки тому
In this video, we talk about regression analysis using curve fitting toolbox in MATLAB. Curve Fitting toolbox is an easier way to fit data for any kind of function. The command for this is cftool. Here is the link of the video that talks about regression analysis and using polyfit: ua-cam.com/video/ySBF4lD4LZc/v-deo.html
Regression Analysis in MATLAB
Переглядів 23 тис.3 роки тому
In this video, we will see what is a regression analysis and why do we need it. We have an example dataset to fit the data with a polynomial equation in MATLAB. The polynomial equation in this case is a line and we can estimate the coefficients using a polyfit command in MATLAB.
Anonymous function Example in MATLAB | Convert Angle from Degree to Radian User-defined Function
Переглядів 3,7 тис.3 роки тому
In this video, we will create an user-defined function in MATLAB to convert an angle from degrees to radians. The built-in function is Deg2Rad in MATLAB. We will learn using the function handler definition with anonymous function in MATALB.
How to Define Anonymous Function in MATLAB
Переглядів 4,2 тис.3 роки тому
In this video, we learn how to define a function handler and also an anonymous function to call it later as a real function. This becomes useful if we want to define a function within the main script and then call the function when necessary.
Define a Function in MATLAB | Find Area and Circumference of a Circle Using Functions
Переглядів 2,6 тис.3 роки тому
In this video, we learn what is a function, why do we need a function, and how to define a function in MATLAB with examples. We calculate an Area and a circumference of a Circle using functions. Functions can take multiple inputs and contain multiple outputs. This video will clarify the concepts of using a function in a MATLAB script.
How to Calculate Determinant of a Matrix
Переглядів 9133 роки тому
In this video, we will see how to calculate a determinant of a matrix. We have examples of both 2 by 2, and 3 by 3 matrix. First, we will see how to calculate it analytically. Then, we will calculate the determinant with MATLAB.
Switch Case in MATLAB
Переглядів 8 тис.3 роки тому
In this video, We will see how to use a switch case command in MATLAB to select different options and based on the options we can execute different set of commands in MATLAB
How to Use Break Command inside a loop in MATLAB
Переглядів 4,6 тис.3 роки тому
In this video, we see how a break command can be implemented to break out of a loop for a certain logical condition.
While Loop in MATLAB
Переглядів 8983 роки тому
In this video, we will see details of while loop in MATLAB
Nested Loop in MATLAB | Easy Example to Understand Nested Loops (4K UHD)
Переглядів 13 тис.3 роки тому
In this video, we will go over the definition of nested loops. We also show examples how to use a nested for loop inside another for loop. By using two loops we have generated a matrix automatically in MATLAB. If you want to learn about how a loop works check out this video: ua-cam.com/video/4ZZhgmSZvjg/v-deo.html Learn more about for loop here: ua-cam.com/video/qlebgLfX0iE/v-deo.html To learn ...
For Loop with If Statement in MATLAB
Переглядів 13 тис.3 роки тому
For Loop with If Statement in MATLAB
How to Use a Conditional If Statement in MATLAB
Переглядів 1,6 тис.3 роки тому
How to Use a Conditional If Statement in MATLAB
How does a For Loop Work? Easy Examples in MATLAB (4K UHD)
Переглядів 1,5 тис.3 роки тому
How does a For Loop Work? Easy Examples in MATLAB (4K UHD)
What is a Loop in a Programming Language | How to Think Like a Programmer!
Переглядів 8393 роки тому
What is a Loop in a Programming Language | How to Think Like a Programmer!
Matrix Multiplication and Element Wise Multiplication in MATLAB (4K UHD)
Переглядів 10 тис.3 роки тому
Matrix Multiplication and Element Wise Multiplication in MATLAB (4K UHD)
Addressing Different Elements of a Matrix in MATLAB (4K UHD)
Переглядів 1,5 тис.3 роки тому
Addressing Different Elements of a Matrix in MATLAB (4K UHD)
Solving a System of Equation Using Matrices in MATLAB
Переглядів 18 тис.3 роки тому
Solving a System of Equation Using Matrices in MATLAB
How to Put a Logarithmic Scale in the Axis in MATLAB (4K UHD)
Переглядів 11 тис.3 роки тому
How to Put a Logarithmic Scale in the Axis in MATLAB (4K UHD)
How to Generate a Figure with Two Y-axes in MATLAB
Переглядів 9 тис.3 роки тому
How to Generate a Figure with Two Y-axes in MATLAB
How to Plot a Complex Number Array in MATLAB
Переглядів 1,6 тис.3 роки тому
How to Plot a Complex Number Array in MATLAB
How to Generate a Polar Coordinate Plot in MATLAB
Переглядів 12 тис.3 роки тому
How to Generate a Polar Coordinate Plot in MATLAB
Multiple Plot in a Single Figure in MATLAB
Переглядів 12 тис.3 роки тому
Multiple Plot in a Single Figure in MATLAB
generate multiple figures using subplot in MATLAB
Переглядів 8 тис.3 роки тому
generate multiple figures using subplot in MATLAB
How to edit plot using a MATLAB script
Переглядів 5 тис.3 роки тому
How to edit plot using a MATLAB script
How to easily edit a plot, add labels and title, change plot color in MATLAB without writing codes
Переглядів 4,8 тис.3 роки тому
How to easily edit a plot, add labels and title, change plot color in MATLAB without writing codes

КОМЕНТАРІ

  • @gabrielespinosa8551
    @gabrielespinosa8551 Місяць тому

    the z data could be used for polinomial regression?

  • @user-ss1dp7he8t
    @user-ss1dp7he8t Місяць тому

    Hello sir can you show me how to generate cordinate x and y on a figure to see where the object is if i have figure with an object and i want to know its position ??

  • @prathameshjoshi3486
    @prathameshjoshi3486 Місяць тому

    Thanks a lot sir

  • @aajamerepyar4586
    @aajamerepyar4586 3 місяці тому

    how can we plot y' vs y or y' vs x. Kindly reply.

  • @mohdarifsaifi769
    @mohdarifsaifi769 3 місяці тому

    I am highly impressed by your teaching. Now I will not let myself to miss any of your video. Salute!

  • @makinemuhendiss96
    @makinemuhendiss96 3 місяці тому

    how can i put max-min values on the graph? thx for video

  • @erwineratsima3554
    @erwineratsima3554 4 місяці тому

    I'm beginner, I tried copy ur code and applying but i have problems of script and it's not working. Your advice

  • @ziaurrahman4369
    @ziaurrahman4369 5 місяців тому

    Very nicely explained sir

  • @eirelavavedecc
    @eirelavavedecc 5 місяців тому

    Thank you very much

  • @vikramray1093
    @vikramray1093 6 місяців тому

    great, very helpful content sir

  • @sarahisandoval3253
    @sarahisandoval3253 7 місяців тому

    thankssssssss i was searching a video like this :)

  • @piyushnag6482
    @piyushnag6482 7 місяців тому

    Is y axis dy/dx or just dy

  • @aerophage
    @aerophage 8 місяців тому

    / is forward slash, \ is back slash

  • @rafaelpolo6023
    @rafaelpolo6023 8 місяців тому

    hello, is it possible to code for shapes under a curve. Meaning, in a GUI, you use a slider to change the number of shapes under a curve?

  • @mirataulhaqueabir8277
    @mirataulhaqueabir8277 9 місяців тому

    What is function for scatteredinterpolation(x,y,z)

  • @captainpumpkinhead1512
    @captainpumpkinhead1512 9 місяців тому

    Thank you for describing what left side division is!

  • @omarfaour962
    @omarfaour962 10 місяців тому

    its 3 am and I did not understand the conversion specifier from the slides and you came for the rescue God bless you

  • @fahimhussain779
    @fahimhussain779 11 місяців тому

    I have a stress vs strain graph with duplicate samples. I need to get std dev values on the plot. how do i get that? thank you in advance

  • @Nodrakk
    @Nodrakk Рік тому

    How about 3D x, y, z interpolation? Could you please show/explain?

  • @adelsalam9735
    @adelsalam9735 Рік тому

    perfect thanks

  • @vinesh7840
    @vinesh7840 Рік тому

    Thank u 🙏🙏🙏🙏🙏🙏

  • @sodumuravikanthreddyce18d27

    clc; clear all q=0; mine=5*q; while mine<=345 q=q+1 if mine==345 break end end could plz tell me why it is not breaking when mine=345

  • @milliebates4980
    @milliebates4980 Рік тому

    After finding the roots is there a way to label them? For example if I had 3 roots and wanted to label them X1, X2 and X3, how would I do this?

    • @Aditya-bu7ql
      @Aditya-bu7ql Рік тому

      it returns a column vector so u can destructure it using [x1, x2, x3] = p2 here p2 is the roots u found using the roots function

  • @maithaalhosani5941
    @maithaalhosani5941 Рік тому

    thank u

  • @tsehayenegash8394
    @tsehayenegash8394 Рік тому

    Nice video thank you. How can I increase the fontsize of the given title and its x and y axis

  • @user-mz7ku4bz9j
    @user-mz7ku4bz9j Рік тому

    great video! helped me a lot!

  • @realestchad9078
    @realestchad9078 Рік тому

    You are the most helpful teacher ive had on this, thank you!

  • @tsubigala
    @tsubigala Рік тому

    you are the best

  • @ObitodellaLL
    @ObitodellaLL Рік тому

    Thanks for your video :D

  • @zerotoinfinity8734
    @zerotoinfinity8734 Рік тому

    Thanks.

  • @shoaebsoliman131
    @shoaebsoliman131 Рік тому

    thanks alot

  • @shakuntalahatti175
    @shakuntalahatti175 Рік тому

    Thank you🙏

  • @lunaromance2243
    @lunaromance2243 Рік тому

    Shouldn't it be B\A

  • @mananamin9210
    @mananamin9210 Рік тому

    couldnt find an easy understandable tutorial than this , thank you sir <3

  • @Nino11420
    @Nino11420 Рік тому

    Are there any different question example of this?

  • @mustafaMK12
    @mustafaMK12 Рік тому

    You save my life, thank you

  • @Ashjj1935
    @Ashjj1935 Рік тому

    Thx sir it was really helpfull

  • @wisnuindrawan6496
    @wisnuindrawan6496 Рік тому

    Thank you

  • @score-e-math
    @score-e-math Рік тому

    Excellent content sir

  • @ritabessa1567
    @ritabessa1567 Рік тому

    thanks!

  • @Davidvolf10
    @Davidvolf10 Рік тому

    Thx hope to see more videos like this 👏

  • @kavyamane7702
    @kavyamane7702 Рік тому

    How to plot graph in mat lab using jacobian partial derivatives??

  • @priyankakualash7973
    @priyankakualash7973 Рік тому

    how to perform general orthogonal regression in MATLAB

  • @tsehayenegash8394
    @tsehayenegash8394 Рік тому

    Y(t,z)= ao+a1AO+a2SAO+a3QBO+a4ENSO+a5IOD+a6SSN. how can I determine ao,a1,a2,a3,a4,a5 and a6?

  • @orieka.o.s.e
    @orieka.o.s.e Рік тому

    Thanks a bunch!

  • @slim590
    @slim590 Рік тому

    thank you

  • @abdallaking2799
    @abdallaking2799 Рік тому

    Thank you

  • @sauravkumarsingha5991
    @sauravkumarsingha5991 Рік тому

    why you didn't create different function file

  • @Muasir_Thoughts
    @Muasir_Thoughts Рік тому

    Can you help me in my problem, i can pay you for your kind service

  • @rishi33644
    @rishi33644 Рік тому

    Ok can someone say how to plot this