Тёмный

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

Numerical Methods ChE McMaster
Подписаться 3,4 тыс.
Просмотров 245 тыс.
50% 1

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

Опубликовано:

 

26 авг 2013

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 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!
@shahriarchowdhury7871
@shahriarchowdhury7871 4 года назад
this one definitely deserves a "2019 anyone?"
@danielabraham113
@danielabraham113 3 года назад
This was so helpful and I adore the sense of humor. The world needs more coaches like you
@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.
@MyThundermuffin
@MyThundermuffin 7 лет назад
VERY useful and helpful video Jake. Thank you !
@arachnid83
@arachnid83 5 лет назад
Thanks for keeping it simple. Kudos.
@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
@RZ10000
@RZ10000 9 лет назад
great tutorial Have a midterm about this stuff and you make things clear now it is time to practice Thanks.
@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!
@doug_silva
@doug_silva 6 лет назад
Best MatLab tutorial on youtube! thanks!
@chrissmith6470
@chrissmith6470 7 лет назад
Great tutorials! Helped me 100 times more than my professor. They should pay you!!! ^_^
@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
@barbaracarnauba1507
@barbaracarnauba1507 4 года назад
Very good explanation! Thanks!
@melmeja
@melmeja 3 месяца назад
U are a brave lecturer!
@paymanjanbakhsh2971
@paymanjanbakhsh2971 10 лет назад
Thank you, very clear and helpful.
@ulquiorracifer221
@ulquiorracifer221 7 лет назад
Thanks fam. You the real MVP
@MrZvensk
@MrZvensk 4 года назад
Usefull and well presented.
@bobi2114-j7h
@bobi2114-j7h 9 лет назад
Thanks! Very good tutorial.
@comedifiED
@comedifiED 9 лет назад
Very helpful video, thank you!
@aquavita1
@aquavita1 9 лет назад
Great tutorial! Thank you
@mashallahyousefzadeh7912
@mashallahyousefzadeh7912 9 лет назад
Thanks, grate MatLab tutorial.
@lortoncdip5269
@lortoncdip5269 2 года назад
Thank you Numerical Methods Jake!
@aznagkarima3486
@aznagkarima3486 9 лет назад
Thank you soo much you saved my life!!!
@shafiq72pk
@shafiq72pk 5 лет назад
Great work. God bless u
@TheAlireza642
@TheAlireza642 7 лет назад
Nice job. Thanks a lot.
@ricieritonelli
@ricieritonelli 10 лет назад
Nice tutorial, bro! It really helped me a lot! =)
@alial-khulaifi5623
@alial-khulaifi5623 9 лет назад
You da real mvp bro!
@GIOBERTTI1986
@GIOBERTTI1986 4 года назад
thanks needed exactly this!
@giotapanagiotopoulou6478
@giotapanagiotopoulou6478 6 лет назад
it helps me a lot....thank you so much :D
@Tott91
@Tott91 8 лет назад
thanks man, helped out alot
@alisultan7978
@alisultan7978 9 лет назад
Thats great. Thank you so much
@sureshjadhav8602
@sureshjadhav8602 8 лет назад
very nice for calling function
@mazin166
@mazin166 7 лет назад
very useful, good declaration
@moonsgarden628
@moonsgarden628 10 лет назад
nice tutorial!
@danteeep
@danteeep 6 лет назад
amazing video mate
@danteeep
@danteeep 6 лет назад
even the bananas comment you made helped me ! you have a talent
@alwarsamyramasamy4724
@alwarsamyramasamy4724 8 лет назад
Nice....Could understand easily...
@bhawnajyoti2000
@bhawnajyoti2000 3 года назад
very helpful
@ryans6423
@ryans6423 9 лет назад
gotta love the sound of a rainfall in the background.......
@ahmedsyed4335
@ahmedsyed4335 6 лет назад
Thank you
@frankh3057
@frankh3057 5 лет назад
thank ya yayyyyy :)
@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?
@ramapatipatra5384
@ramapatipatra5384 Год назад
awsome
@mohanada1086
@mohanada1086 9 лет назад
Hi, is there any tutorial like this on how to use '' quad command '' and " fsolve ". thnkas
@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)?
@landlordj11
@landlordj11 9 лет назад
I don't understand what the command "box on" does on 9.56 Nice videos, they really helped 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
@abgmacho3755
@abgmacho3755 9 лет назад
is there any tutorial like this on scilab. Please someone reply to me
@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
@mdiqbal7168
@mdiqbal7168 3 года назад
Difference between script and function in matlab gui
@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...?
@vALIentsInfoTech
@vALIentsInfoTech 6 лет назад
For more understanding watch this video: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-t6062Nwt0JE.html
@joshuavisagie9278
@joshuavisagie9278 8 лет назад
we all know its you, Jesse Eisenburg
@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;
@mrinmoysaha8280
@mrinmoysaha8280 4 года назад
ross geller
@garyhilson7220
@garyhilson7220 10 лет назад
good stuff but hard to read. too small
@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!
Далее
Introduction to MATLAB and Live Scripting
13:27
Просмотров 15 тыс.
Все кругом Миланы... 🤣
00:12
Просмотров 145 тыс.
ПОЮ ЛЕТНИЕ ПЕСНИ🌞
3:16:55
Просмотров 1,7 млн
Gặp 2 thánh troll | CHANG DORY | ometv
00:42
Просмотров 21 млн
MATLAB Tutorial 1 - Intro and Basics
18:26
Просмотров 51 тыс.
Basics of Creating Matlab Functions
11:01
Просмотров 16 тыс.
Import Data and Analyze with MATLAB
9:19
Просмотров 680 тыс.
MATLAB Tutorial 3 - FOR Loops and Plots
27:21
Просмотров 111 тыс.
Why I Don’t Use Arrow Functions With const/let
6:48
Просмотров 184 тыс.
Function M-Files in MATLAB
9:11
Просмотров 247 тыс.
MATLAB Function Plotting Basics
9:21
Просмотров 520 тыс.
Все кругом Миланы... 🤣
00:12
Просмотров 145 тыс.