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

  Рет қаралды 245,777

Numerical Methods ChE McMaster

Numerical Methods ChE McMaster

Күн бұрын

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

Пікірлер
@jonathanquintanilla6163
@jonathanquintanilla6163 8 жыл бұрын
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 3 жыл бұрын
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 5 жыл бұрын
this one definitely deserves a "2019 anyone?"
@sevn9562
@sevn9562 7 жыл бұрын
This was explained better in 22 min than it was in hours from my engineering prof. Thank you so much!
@jaspersmitt0
@jaspersmitt0 6 жыл бұрын
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 5 жыл бұрын
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
@HamzaDjeloud
@HamzaDjeloud 5 жыл бұрын
I'm on MATLAB R2020b and this video is still useful for an intro to functions. Nice job!
@kamohelot8677
@kamohelot8677 4 жыл бұрын
We need more of these videos. Thank you!
@shanemiller3743
@shanemiller3743 6 жыл бұрын
I'm on MATLAB R2017b and this video is still useful for an intro to functions. Nice job!
@fernandosalcido1015
@fernandosalcido1015 7 жыл бұрын
Thank you so much for using 'bananas'! The fact that it was so ridiculous/different from other variables helped make the concept more contcrete.
@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!
@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 !
@chekz1231
@chekz1231 11 жыл бұрын
Cheers for this, easy and clear explanation of what I was looking for. Thanks.
@najibahmadi7705
@najibahmadi7705 9 жыл бұрын
Hi there! I just wanna say that your tutorial is really useful and helps a lot! Thank you
@MrZvensk
@MrZvensk 5 жыл бұрын
Usefull and well presented.
@RZ10000
@RZ10000 9 жыл бұрын
great tutorial Have a midterm about this stuff and you make things clear now it is time to practice 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 10 жыл бұрын
hi! I really like your tutorial and your accent, why not come back and do more tutorials?
@mcmoppie007
@mcmoppie007 10 жыл бұрын
Numerical Methods ChE McMaster So you know anything about MEX-files, specifically calling FORTRAN77?
@notusnotus9547
@notusnotus9547 9 жыл бұрын
+Numerical Methods ChE McMaster Hello , -74% coupon to Learn Matlab Udemy course Couponcode: MATLAB25 www.udemy.com/learn-matlab/?couponCode=MATLAB25
@doug_silva
@doug_silva 7 жыл бұрын
Best MatLab tutorial on youtube! thanks!
@chrissmith6470
@chrissmith6470 8 жыл бұрын
Great tutorials! Helped me 100 times more than my professor. They should pay you!!! ^_^
@barbaracarnauba1507
@barbaracarnauba1507 4 жыл бұрын
Very good explanation! Thanks!
@arachnid83
@arachnid83 6 жыл бұрын
Thanks for keeping it simple. Kudos.
@melmeja
@melmeja 10 ай бұрын
U are a brave lecturer!
@MariaGMateo
@MariaGMateo 10 жыл бұрын
Hey, thanks a lot for this video! it is the best introduction to functions I have had!
@lortoncdip5269
@lortoncdip5269 2 жыл бұрын
Thank you Numerical Methods Jake!
@shafiq72pk
@shafiq72pk 5 жыл бұрын
Great work. God bless u
@ulquiorracifer221
@ulquiorracifer221 7 жыл бұрын
Thanks fam. You the real MVP
@comedifiED
@comedifiED 10 жыл бұрын
Very helpful video, thank you!
@mashallahyousefzadeh7912
@mashallahyousefzadeh7912 10 жыл бұрын
Thanks, grate MatLab tutorial.
@danteeep
@danteeep 7 жыл бұрын
amazing video mate
@danteeep
@danteeep 7 жыл бұрын
even the bananas comment you made helped me ! you have a talent
@alwarsamyramasamy4724
@alwarsamyramasamy4724 8 жыл бұрын
Nice....Could understand easily...
@aquavita1
@aquavita1 10 жыл бұрын
Great tutorial! Thank you
@ricieritonelli
@ricieritonelli 11 жыл бұрын
Nice tutorial, bro! It really helped me a lot! =)
@rubigarcia5323
@rubigarcia5323 4 ай бұрын
thank you! you saved me
@alial-khulaifi5623
@alial-khulaifi5623 10 жыл бұрын
You da real mvp bro!
@sureshjadhav8602
@sureshjadhav8602 8 жыл бұрын
very nice for calling function
@paymanjanbakhsh2971
@paymanjanbakhsh2971 11 жыл бұрын
Thank you, very clear and helpful.
@GIOBERTTI1986
@GIOBERTTI1986 4 жыл бұрын
thanks needed exactly this!
@aznagkarima3486
@aznagkarima3486 9 жыл бұрын
Thank you soo much you saved my life!!!
@TheAlireza642
@TheAlireza642 8 жыл бұрын
Nice job. Thanks a lot.
@alisultan7978
@alisultan7978 10 жыл бұрын
Thats great. Thank you so much
@moonsgarden628
@moonsgarden628 10 жыл бұрын
nice tutorial!
@bhawnajyoti2000
@bhawnajyoti2000 4 жыл бұрын
very helpful
@giotapanagiotopoulou6478
@giotapanagiotopoulou6478 7 жыл бұрын
it helps me a lot....thank you so much :D
@kuzgun_TR
@kuzgun_TR 3 жыл бұрын
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?
@mazin166
@mazin166 8 жыл бұрын
very useful, good declaration
@Tott91
@Tott91 8 жыл бұрын
thanks man, helped out alot
@ryans6423
@ryans6423 10 жыл бұрын
gotta love the sound of a rainfall in the background.......
@landlordj11
@landlordj11 9 жыл бұрын
I don't understand what the command "box on" does on 9.56 Nice videos, they really helped me!!!!
@ramapatipatra5384
@ramapatipatra5384 2 жыл бұрын
awsome
@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)?
@ahmedsyed4335
@ahmedsyed4335 6 жыл бұрын
Thank you
@frankh3057
@frankh3057 6 жыл бұрын
thank ya yayyyyy :)
@mohanada1086
@mohanada1086 10 жыл бұрын
Hi, is there any tutorial like this on how to use '' quad command '' and " fsolve ". thnkas
@mladityaavadhani53
@mladityaavadhani53 7 жыл бұрын
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
@mdiqbal7168
@mdiqbal7168 4 жыл бұрын
Difference between script and function in matlab gui
@sadafaydh9043
@sadafaydh9043 8 жыл бұрын
can any one help me to open the built in function of matlab like the function expcdf
@abgmacho3755
@abgmacho3755 10 жыл бұрын
is there any tutorial like this on scilab. Please someone reply to me
@niuniu9421
@niuniu9421 7 жыл бұрын
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 6 жыл бұрын
Great topic but would you please zoom out the screen. it is imposible to see what you are typing.
@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
@hisamk6740
@hisamk6740 11 жыл бұрын
Without seeing ur vedio clearly, how can we evaluate...?
@joshuavisagie9278
@joshuavisagie9278 8 жыл бұрын
we all know its you, Jesse Eisenburg
@AllenAK49
@AllenAK49 6 жыл бұрын
Oh hey lol!
@vALIentsInfoTech
@vALIentsInfoTech 7 жыл бұрын
For more understanding watch this video: kzbin.info/www/bejne/qmeTZ2WErNljgKc
@mrinmoysaha8280
@mrinmoysaha8280 5 жыл бұрын
ross geller
@garyhilson7220
@garyhilson7220 11 жыл бұрын
good stuff but hard to read. too small
@wgeorge1602
@wgeorge1602 10 жыл бұрын
Chinese?
@wgeorge1602
@wgeorge1602 10 жыл бұрын
really really good tutorial, much better than the Matlab official tutorial!!!
@bobi2114-j7h
@bobi2114-j7h 10 жыл бұрын
Thanks! Very good tutorial.
Creating User-Defined Functions in MATLAB: Syntax and Examples
17:00
Spartan Professor
Рет қаралды 42 М.
MATLAB Function Plotting Basics
9:21
RobertTalbertPhD
Рет қаралды 521 М.
She wanted to set me up #shorts by Tsuriki Show
0:56
Tsuriki Show
Рет қаралды 8 МЛН
-5+3은 뭔가요? 📚 #shorts
0:19
5 분 Tricks
Рет қаралды 13 МЛН
Intro to Matlab functions and classes
11:15
Anders Munk-Nielsen
Рет қаралды 48 М.
MATLAB Files -- Scripts and Functions
23:35
MATLAB Programming for Numerical Computation
Рет қаралды 241 М.
Uncertainty is a characteristic of smart people. Why uncertainty is not bad. Doubt is Knowledge.
13:42
Библиотека душеполезных поучений
Рет қаралды 21 М.
Смысл интеграла и производной. В помощь студенту
15:54
Indexing Values in a Matrix in Matlab
8:04
SnugglyHappyMathTime
Рет қаралды 70 М.
Lesson 6.1 for-loops in MATLAB
36:51
Fitzle LLC
Рет қаралды 134 М.
She wanted to set me up #shorts by Tsuriki Show
0:56
Tsuriki Show
Рет қаралды 8 МЛН