MATLAB Tutorial 4 - A Look at Creating and Calling Functions!

  Рет қаралды 244,965

Numerical Methods ChE McMaster

Numerical Methods ChE McMaster

11 жыл бұрын

An introduction to creating your own functions, saving them in the proper directory, and calling your own functions in your main script.

Пікірлер: 79
@jonathanquintanilla6163
@jonathanquintanilla6163 7 жыл бұрын
I hope you realize that even 3 years after you uploaded this, it is still a tremendous help. Thank you
@RM-gm7lu
@RM-gm7lu 6 жыл бұрын
Try 5 years
@bionova7
@bionova7 5 жыл бұрын
6 years later too
@billthehill
@billthehill 3 жыл бұрын
How about 8 xD
@junidabawz
@junidabawz 2 жыл бұрын
How bout 9 lmaoo
@enricomarsili9233
@enricomarsili9233 Жыл бұрын
10 years and counting!
@danielabraham113
@danielabraham113 3 жыл бұрын
This was so helpful and I adore the sense of humor. The world needs more coaches like you
@shahriarchowdhury7871
@shahriarchowdhury7871 4 жыл бұрын
this one definitely deserves a "2019 anyone?"
@sevn9562
@sevn9562 6 жыл бұрын
This was explained better in 22 min than it was in hours from my engineering prof. Thank you so much!
@HamzaDjeloud
@HamzaDjeloud 4 жыл бұрын
I'm on MATLAB R2020b and this video is still useful for an intro to functions. Nice job!
@maricutz
@maricutz 9 жыл бұрын
Loved the tutorials! The most useful and understandable I found on youtube (and I really watched quite a lot, as I really need to learn it). Thank you so much!
@kamohelot8677
@kamohelot8677 4 жыл бұрын
We need more of these videos. Thank you!
@jaspersmitt0
@jaspersmitt0 5 жыл бұрын
Very clear explanation and nice that you included tips how to start the main script and function script and tips that make the coding just more convenient for starters
@orca_ah
@orca_ah 4 жыл бұрын
7 years later it is useful and good, very good and funny explanations, thank you man, too bad you do not have lots of videos
@fernandosalcido1015
@fernandosalcido1015 6 жыл бұрын
Thank you so much for using 'bananas'! The fact that it was so ridiculous/different from other variables helped make the concept more contcrete.
@chekz1231
@chekz1231 10 жыл бұрын
Cheers for this, easy and clear explanation of what I was looking for. Thanks.
@numericalmethodschemcmaste6084
@numericalmethodschemcmaste6084 10 жыл бұрын
Hey all, sorry I don't monitor this channel anymore... I am thinking of recording and uploading some vids soon on some requested topics. FOR THIS VIDEO - I suggest maximizing the screen and playing it in 1080p (it was recorded in HD and should not be a problem). If you have a 1920 x 1080 monitor you should be able to see all of the text clearly. Hope that helps!
@wgeorge1602
@wgeorge1602 9 жыл бұрын
hi! I really like your tutorial and your accent, why not come back and do more tutorials?
@mcmoppie007
@mcmoppie007 9 жыл бұрын
Numerical Methods ChE McMaster So you know anything about MEX-files, specifically calling FORTRAN77?
@notusnotus9547
@notusnotus9547 8 жыл бұрын
+Numerical Methods ChE McMaster Hello , -74% coupon to Learn Matlab Udemy course Couponcode: MATLAB25 www.udemy.com/learn-matlab/?couponCode=MATLAB25
@trevorbaird8978
@trevorbaird8978 7 жыл бұрын
I spent hours and hours with failures until I heard your comment that the filename of the function must be the same as the function name. Thank you, thank you!
@MyThundermuffin
@MyThundermuffin 7 жыл бұрын
VERY useful and helpful video Jake. Thank you !
@barbaracarnauba1507
@barbaracarnauba1507 4 жыл бұрын
Very good explanation! Thanks!
@MariaGMateo
@MariaGMateo 9 жыл бұрын
Hey, thanks a lot for this video! it is the best introduction to functions I have had!
@najibahmadi7705
@najibahmadi7705 9 жыл бұрын
Hi there! I just wanna say that your tutorial is really useful and helps a lot! Thank you
@lortoncdip5269
@lortoncdip5269 2 жыл бұрын
Thank you Numerical Methods Jake!
@RZ10000
@RZ10000 9 жыл бұрын
great tutorial Have a midterm about this stuff and you make things clear now it is time to practice Thanks.
@doug_silva
@doug_silva 6 жыл бұрын
Best MatLab tutorial on youtube! thanks!
@arachnid83
@arachnid83 5 жыл бұрын
Thanks for keeping it simple. Kudos.
@chrissmith6470
@chrissmith6470 7 жыл бұрын
Great tutorials! Helped me 100 times more than my professor. They should pay you!!! ^_^
@ulquiorracifer221
@ulquiorracifer221 7 жыл бұрын
Thanks fam. You the real MVP
@paymanjanbakhsh2971
@paymanjanbakhsh2971 10 жыл бұрын
Thank you, very clear and helpful.
@MrZvensk
@MrZvensk 4 жыл бұрын
Usefull and well presented.
@melmeja
@melmeja 3 ай бұрын
U are a brave lecturer!
@comedifiED
@comedifiED 9 жыл бұрын
Very helpful video, thank you!
@bobi2114-j7h
@bobi2114-j7h 9 жыл бұрын
Thanks! Very good tutorial.
@aznagkarima3486
@aznagkarima3486 9 жыл бұрын
Thank you soo much you saved my life!!!
@aquavita1
@aquavita1 9 жыл бұрын
Great tutorial! Thank you
@alial-khulaifi5623
@alial-khulaifi5623 9 жыл бұрын
You da real mvp bro!
@ricieritonelli
@ricieritonelli 10 жыл бұрын
Nice tutorial, bro! It really helped me a lot! =)
@GIOBERTTI1986
@GIOBERTTI1986 4 жыл бұрын
thanks needed exactly this!
@mashallahyousefzadeh7912
@mashallahyousefzadeh7912 9 жыл бұрын
Thanks, grate MatLab tutorial.
@giotapanagiotopoulou6478
@giotapanagiotopoulou6478 6 жыл бұрын
it helps me a lot....thank you so much :D
@TheAlireza642
@TheAlireza642 7 жыл бұрын
Nice job. Thanks a lot.
@Tott91
@Tott91 8 жыл бұрын
thanks man, helped out alot
@shafiq72pk
@shafiq72pk 5 жыл бұрын
Great work. God bless u
@alisultan7978
@alisultan7978 9 жыл бұрын
Thats great. Thank you so much
@moonsgarden628
@moonsgarden628 10 жыл бұрын
nice tutorial!
@sureshjadhav8602
@sureshjadhav8602 8 жыл бұрын
very nice for calling function
@danteeep
@danteeep 6 жыл бұрын
amazing video mate
@danteeep
@danteeep 6 жыл бұрын
even the bananas comment you made helped me ! you have a talent
@ryans6423
@ryans6423 9 жыл бұрын
gotta love the sound of a rainfall in the background.......
@mazin166
@mazin166 7 жыл бұрын
very useful, good declaration
@ahmedsyed4335
@ahmedsyed4335 6 жыл бұрын
Thank you
@eliefant6353
@eliefant6353 6 жыл бұрын
how would i write a function rect = rect_aperture(r1, c1, r2, c2) that constructs a rectangular aperture on a 512 by 1024 grid? so the top left (r1,c1) and bottom right (r2,c2)?
@sefaarslan1488
@sefaarslan1488 2 жыл бұрын
I am working on a trim determination procedure with iterative actions and unknowns. The main scheme of the system is that the known values, which are calculated as a result of iterative actions, are sent to the pairs of equations to find the unknown values ​​and these equations will be solved with a nonlinear solver, for example fsolve. The main point here is that after these sets of equations are solved, unknown values ​​should be found and used to update the known values ​​in the first stage. Then the known values ​​will be used as input in the nonlinear solver and this cycle will continue until the iterative process is finished. The main goal is to reach the convergent unknown values ​​at the end of this procedure. Now I have written the lines of code that should be used as an input parameter in the solver as a script. What are your suggestions for me to transfer these input parameters to the solver and to create new input parameters for the solver by transferring the values ​​from the solver back to the script file? How do I call the values ​​from the f solve function in the script and send the input parameters back as a result of the calculations for the f solve function to use. It is a structure that constantly feeds each other?
@bhawnajyoti2000
@bhawnajyoti2000 3 жыл бұрын
very helpful
@alwarsamyramasamy4724
@alwarsamyramasamy4724 8 жыл бұрын
Nice....Could understand easily...
@frankh3057
@frankh3057 5 жыл бұрын
thank ya yayyyyy :)
@mohanada1086
@mohanada1086 9 жыл бұрын
Hi, is there any tutorial like this on how to use '' quad command '' and " fsolve ". thnkas
@ramapatipatra5384
@ramapatipatra5384 Жыл бұрын
awsome
@mladityaavadhani53
@mladityaavadhani53 6 жыл бұрын
How to create function which perform date function My intention is , user can Abel to enter the date like 20161230(yyyymmdd format) the code /function can Abel to display next date r previous date , Plz help me in MATLAB code and creating own function
@sadafaydh9043
@sadafaydh9043 7 жыл бұрын
can any one help me to open the built in function of matlab like the function expcdf
@landlordj11
@landlordj11 9 жыл бұрын
I don't understand what the command "box on" does on 9.56 Nice videos, they really helped me!!!!
@abgmacho3755
@abgmacho3755 9 жыл бұрын
is there any tutorial like this on scilab. Please someone reply to me
@StrangeParticl
@StrangeParticl 10 жыл бұрын
it is great and thank you for that I hope that you help me in wrting my code for DWT on image... Please I am in need of that welling to have your answer soon Zee
@mdiqbal7168
@mdiqbal7168 3 жыл бұрын
Difference between script and function in matlab gui
@niuniu9421
@niuniu9421 6 жыл бұрын
Very nice video! I copied the plot code. So if somebody needs a draft as I do, here you go: x = -5:0.01:5; figure; hold on; plot(x,y ‘r-o‘, ‘LineWidth‘, 2); %r: RED plot(x,z ‘k-o‘, ‘LineWidth‘, 2); %k: BLACK xlabel(‘X‘); ylabel(‘Y and Z‘); title(‘Write in plot title‘); legend(‘2sin(x) - 1‘, ‘1.5*cos(x) + 2‘); box on; legend(‘boxoff‘); hold off;
@joseguzman4682
@joseguzman4682 5 жыл бұрын
Great topic but would you please zoom out the screen. it is imposible to see what you are typing.
@AllenAK49
@AllenAK49 6 жыл бұрын
Oh hey lol!
@hisamk6740
@hisamk6740 10 жыл бұрын
Without seeing ur vedio clearly, how can we evaluate...?
@joshuavisagie9278
@joshuavisagie9278 8 жыл бұрын
we all know its you, Jesse Eisenburg
@mrinmoysaha8280
@mrinmoysaha8280 4 жыл бұрын
ross geller
@garyhilson7220
@garyhilson7220 10 жыл бұрын
good stuff but hard to read. too small
@vALIentsInfoTech
@vALIentsInfoTech 6 жыл бұрын
For more understanding watch this video: kzbin.info/www/bejne/qmeTZ2WErNljgKc
@wgeorge1602
@wgeorge1602 9 жыл бұрын
Chinese?
@wgeorge1602
@wgeorge1602 9 жыл бұрын
really really good tutorial, much better than the Matlab official tutorial!!!
@shanemiller3743
@shanemiller3743 6 жыл бұрын
I'm on MATLAB R2017b and this video is still useful for an intro to functions. Nice job!
MATLAB Tutorial 5 - WHILE Loops and intro to logic statements
27:17
Numerical Methods ChE McMaster
Рет қаралды 41 М.
MATLAB Tutorial 3 - FOR Loops and Plots
27:21
Numerical Methods ChE McMaster
Рет қаралды 111 М.
🤔Какой Орган самый длинный ? #shorts
00:42
Каха и суп
00:39
К-Media
Рет қаралды 5 МЛН
HAPPY BIRTHDAY @mozabrick 🎉 #cat #funny
00:36
SOFIADELMONSTRO
Рет қаралды 14 МЛН
Introduction to MATLAB and Live Scripting
13:27
DoctorBear
Рет қаралды 15 М.
Function M-Files in MATLAB
9:11
RobertTalbertPhD
Рет қаралды 247 М.
MATLAB Tutorial 2 - Creating Matrices and Matrix Math
26:47
Numerical Methods ChE McMaster
Рет қаралды 187 М.
MATLAB Tutorial 1 - Intro and Basics
18:26
Numerical Methods ChE McMaster
Рет қаралды 51 М.
Signal Analysis using Matlab -  A Heart Rate example
18:04
David Dorran
Рет қаралды 214 М.
MATLAB Function Plotting Basics
9:21
RobertTalbertPhD
Рет қаралды 520 М.
Why I Don’t Use Arrow Functions With const/let
6:48
Web Dev Simplified
Рет қаралды 184 М.
Model Fitting and Regression in MATLAB
9:11
LearnChemE
Рет қаралды 207 М.
Lesson 6.1 for-loops in MATLAB
36:51
Fitzle LLC
Рет қаралды 133 М.
🤔Какой Орган самый длинный ? #shorts
00:42