- 41
- 329 360
Educate yourself
Приєднався 27 січ 2021
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.
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
the z data could be used for polinomial regression?
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 ??
Thanks a lot sir
how can we plot y' vs y or y' vs x. Kindly reply.
I am highly impressed by your teaching. Now I will not let myself to miss any of your video. Salute!
how can i put max-min values on the graph? thx for video
I'm beginner, I tried copy ur code and applying but i have problems of script and it's not working. Your advice
Very nicely explained sir
Thank you very much
great, very helpful content sir
thankssssssss i was searching a video like this :)
Is y axis dy/dx or just dy
/ is forward slash, \ is back slash
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?
What is function for scatteredinterpolation(x,y,z)
Thank you for describing what left side division is!
its 3 am and I did not understand the conversion specifier from the slides and you came for the rescue God bless you
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
How about 3D x, y, z interpolation? Could you please show/explain?
perfect thanks
Thank u 🙏🙏🙏🙏🙏🙏
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
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?
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
thank u
Nice video thank you. How can I increase the fontsize of the given title and its x and y axis
great video! helped me a lot!
You are the most helpful teacher ive had on this, thank you!
you are the best
Thanks for your video :D
Thanks.
thanks alot
Thank you🙏
Shouldn't it be B\A
couldnt find an easy understandable tutorial than this , thank you sir <3
Are there any different question example of this?
You save my life, thank you
Thx sir it was really helpfull
Thank you
Excellent content sir
thanks!
Thx hope to see more videos like this 👏
How to plot graph in mat lab using jacobian partial derivatives??
how to perform general orthogonal regression in MATLAB
Y(t,z)= ao+a1AO+a2SAO+a3QBO+a4ENSO+a5IOD+a6SSN. how can I determine ao,a1,a2,a3,a4,a5 and a6?
Thanks a bunch!
thank you
Thank you
why you didn't create different function file
Can you help me in my problem, i can pay you for your kind service
Ok can someone say how to plot this