Introduction to Matlab in English | 14b - Data fitting using "fit" function

  Рет қаралды 5,062

Mohammed Mohammed

Mohammed Mohammed

3 жыл бұрын

Пікірлер: 10
@vigneshbalaji21
@vigneshbalaji21 11 ай бұрын
Nice explanation. What is the method that fit function usually uses to fit custom equations with data ?
@kashmiriatIISc
@kashmiriatIISc Жыл бұрын
If we have to fit a data that consists of many "x" vectors and their corresponding "y" values, but having different vector sizes> Can you please provide some guidance
@jobaidulislam7506
@jobaidulislam7506 3 жыл бұрын
Sir could you please help with "Establish UAV mathematical model in CBBA?" PLEASE?
@mertyalcinoz591
@mertyalcinoz591 2 жыл бұрын
Hello Prof. Mohammed, one thing about video is that you forget to mention curve fitting toolbox before doing coding. It gave me an error while I am doing fittype>curve fit toolbax is needed. So I figure out how to deal with it but I think it is needed before coding.
@MGMohammed
@MGMohammed 2 жыл бұрын
Thanks for the note! You are right, I should have mentioned that in the video. To be honest, I did not know that the data fitting toolbox must be installed to run the "fit" function when I recorded this video :) I can post a video to demonstrate that.
@onelivingsoul2962
@onelivingsoul2962 Жыл бұрын
Hi can you help me with fit([x,y],z,'poly23'),in this 3d fit,i am getting error of dimension problem,even though everything checks out to be fine.
@MGMohammed
@MGMohammed Жыл бұрын
This function produces an error when the inputs (x, y and z) are not column vectors, i.e. dimensions in workspace must be n*1 as I have in the video 11*1 One fast solution is to write the same code using transposes: fit([x', y,],z','poly23') Hope this solves your problem!
@onelivingsoul2962
@onelivingsoul2962 Жыл бұрын
@@MGMohammed i have taken x[n,1] y[n,1] and z[n,n],still having this error. I have n^2 data points for each value of x & y,hence z is n×n
@MGMohammed
@MGMohammed Жыл бұрын
@@onelivingsoul2962 Try using this code before the fit function: [xout,yout,zout]=prepareSurfaceData(x,y,z) and use xout, yout and zout instead of x, y and z
@onelivingsoul2962
@onelivingsoul2962 Жыл бұрын
@@MGMohammed Thanks,it works now..! I will sub,keep posting amazing content like this
Introduction to Matlab in English | 15 Data fitting app
15:46
Mohammed Mohammed
Рет қаралды 417
Polyfit and Polyval
17:52
DarkfrostTGF
Рет қаралды 15 М.
Haha😂 Power💪 #trending #funny #viral #shorts
00:18
Reaction Station TV
Рет қаралды 16 МЛН
When You Get Ran Over By A Car...
00:15
Jojo Sim
Рет қаралды 16 МЛН
Did you believe it was real? #tiktok
00:25
Анастасия Тарасова
Рет қаралды 46 МЛН
Wait for the last one! 👀
00:28
Josh Horton
Рет қаралды 141 МЛН
How to fit non-linear equations in excel using solver
6:24
Taylor Sparks
Рет қаралды 250 М.
Curve Fitting in Python (2022)
24:50
Mr. P Solver
Рет қаралды 89 М.
MATLAB - Interpolation and Curve Fitting
36:37
Industrial IT and Automation
Рет қаралды 9 М.
Step-by-Step Guide to Creating Anonymous Functions in MATLAB
12:25
Spartan Professor
Рет қаралды 7 М.
Fit Distributions to Data in MATLAB
5:37
math et al
Рет қаралды 74 М.
Introduction to curve fitting using Matlab - Part 01
39:00
NPTEL-NOC IITM
Рет қаралды 21 М.
Using the Sort and Sortrows Functions in MATLAB
15:10
SnugglyHappyMathTime
Рет қаралды 19 М.
Haha😂 Power💪 #trending #funny #viral #shorts
00:18
Reaction Station TV
Рет қаралды 16 МЛН