Тёмный

Function M-Files in MATLAB 

RobertTalbertPhD
Подписаться 18 тыс.
Просмотров 247 тыс.
50% 1

This screencast discusses the basics of user-defined functions in MATLAB, including syntax and the differences between functions and scripts. A couple of basic examples of functions are built too.

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

 

15 мар 2011

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 55   
@liekabauz
@liekabauz 10 лет назад
These series of videos that you posted up online are crisp and lucid so that it is very easy to process. Thank you for sharing!!!!
@morgigeadler
@morgigeadler 10 лет назад
You're great, Sir - big respect! Very clear and informative.
@dotway
@dotway 11 лет назад
Thanks so much! People like yourself are the future of education!
@Bestestboii
@Bestestboii 3 года назад
Helped way more than my online teacher. You should get paid for this content
@ionaolive3883
@ionaolive3883 9 лет назад
I appreciate that this module is very well contained in that it doesn't require knowing a lot of other syntax or structures.
@tekle5
@tekle5 9 лет назад
This is amazing explanation. My teacher explained it for the entire class time and I had no clue what he said. But it only took the first 5 minutes on this video to make sense.
@colinhengchangjie
@colinhengchangjie 11 лет назад
Dude, you're saving lifes here!
@irenejohnson2182
@irenejohnson2182 6 лет назад
Thank you so much!!!! My teacher has us reading an e-book about MatLab, and, whenever I get confused about what it's talking about, I come and watch a video to understand it.
@YoSoFuny
@YoSoFuny 11 лет назад
MatLab exam tomorrow, you really saved me! :D thank you
@james99700
@james99700 12 лет назад
very very helpful, I wish you were my matlab teacher, thank you for all your help!
@yamenhazimi2947
@yamenhazimi2947 9 лет назад
thank you man!! great vid....expecting more of this videos cause it helps me alot
@pappy4dolly
@pappy4dolly 11 лет назад
Very helpful-excellent explanation!
@michaelmooraero
@michaelmooraero 12 лет назад
Thank-you so much for all of these videos, they are helping me immensely!! What is so great is that yoou give the intuition, as well as the mechanics, which makes all the difference! I am however having a problem with the intuitoin on global variables and function files... if you had the time to do a quick video on that I would be extremely grateful! Best Regards,
@rongarza9488
@rongarza9488 10 лет назад
I also think you are a fantastic professor. Good thing I didn't ask about the dot (syntax for a vector or list) on the 2nd lesson I listened to (the Force of gravity formula could accept an array for the distance between the centers of the objects). I'm looking forward to your other RU-vid videos. .
@minaamir2648
@minaamir2648 10 лет назад
awsome work sure thanx for your efforts
@ShayaanMustafa
@ShayaanMustafa 13 лет назад
Very nice tutorial. I would like to say you please upload more basics or each and every function of MATLAB. Good Luck bro.
@TATGemini
@TATGemini 13 лет назад
This is truly a life saver!!!!!! Thanks a cubic ton!!! :)
@sargethejeep
@sargethejeep 8 лет назад
Helpful video. Thank you
@filikili7946
@filikili7946 10 лет назад
hey you saved my day thank you so much
@aceofshade
@aceofshade 11 лет назад
Thx Dr. Talbert!
@fauxshow8
@fauxshow8 12 лет назад
Very helpful, thanks!
@bhavyadoshi26
@bhavyadoshi26 8 лет назад
Awesome video
@BassaHassa
@BassaHassa 8 лет назад
Thank you dude!
@thecurioussoul88
@thecurioussoul88 13 лет назад
very helpful keep up the good work
@adamn2022
@adamn2022 8 лет назад
Thank you!
@JC_Deutscher
@JC_Deutscher 12 лет назад
excellent! thanks a lot!
@ammartaj87
@ammartaj87 11 лет назад
Thank you sir !
@nidaaa7714
@nidaaa7714 6 лет назад
thank you thank you thank you so much
@MuhammadGhufran5
@MuhammadGhufran5 10 лет назад
wao its very helpful video
@AndrewDee15
@AndrewDee15 11 лет назад
thanks !
@F00dTube
@F00dTube 11 лет назад
RobertTalbertPhD
@domagojbosnjak9763
@domagojbosnjak9763 8 лет назад
Do i have to put end command for ending a function? How does matlab "know" when a function is done?
@7upallnight
@7upallnight 11 лет назад
Thank you! I have a question though. In the function you are creating a new variable called 'grades'. Why does this not appear in the workspace now? For instance: instead of calling your vector 'v', call it 'grades'. From the function script it looks like you are altering the original vector, by sorting it and replacing the first variable with the average. If you run it however, the original variable is left unchanged (when it is given the same name as the one in the function). Why is this?
@ramirezvilla
@ramirezvilla 9 лет назад
Quick question, How would you define and call a function that takes in a vector say x, and two scalars say m and s , for the function f(x)= m+s/x , please help! thank you!
@Unboxeverything1
@Unboxeverything1 8 лет назад
cool!!
@DJTrancenergy
@DJTrancenergy 12 лет назад
How can I "vectorize" this function? ((-1)^n)*(n*2+1)^(-3) When I input a vector like ([...]), I get the "matrix must be square" error. I've tried putting dots after every n, also after the second n alone, and after every parentheses where the n appears, but none of them work... How can I do it? Thanks!
@hoangpham5508
@hoangpham5508 7 лет назад
Thank you so much for the video! But why did you have to save it again at 4:30????
@shikhasingh1322
@shikhasingh1322 7 лет назад
Hello Sir, Could you please tell me how to plot magnitude in polar coordinates and also phase in polar coordinates
@nayanablinks917
@nayanablinks917 6 лет назад
how do i add two images? I cant do this TT
@simrankheivaify
@simrankheivaify 9 лет назад
hey can you plzzzz tell me how to call variable of one matlab file to another matlab file
@samyyousef6566
@samyyousef6566 8 лет назад
If I'm not mistaken, you called the second function with a different name than the one you declared it with at 8:40 , and this will never be accepted by any language compiler. How could this happened?
@bhavyadoshi26
@bhavyadoshi26 8 лет назад
Maybe he had another function with the name 'quiz_grades' already written before he made the video.
@emedsaid9587
@emedsaid9587 11 лет назад
cette video est genial
@yamenhazimi2947
@yamenhazimi2947 9 лет назад
can someone help me please guys....the 'current folder' has disapered from the screen...can someone tell me how can i get it back? thanks
@drrajashekharsardagi2336
@drrajashekharsardagi2336 4 года назад
Their is mistake in the last example.
@monikayounes8310
@monikayounes8310 7 лет назад
I want a program in MATLAB in the field of pattern recognition to recognize the writing or numbers or characters
@Tirreg88
@Tirreg88 13 лет назад
rlly good work. but criticism: u speak rlly fast without even a small break. it would be more pleasant for the audience. even if your video is 1 minute longer. but i have to praise your pictures and the build up you are using
@mwanawevhu2002
@mwanawevhu2002 11 лет назад
can you slow down so we can follow you.
@MahmodoVX
@MahmodoVX 8 лет назад
u r so awesome, but u speak too fast.
@terrorist691
@terrorist691 8 лет назад
unhelpful.
@NicholasJNadon
@NicholasJNadon 11 лет назад
Thank you!
@coffee4laffdip
@coffee4laffdip 9 лет назад
dudeeeee thanks!
Далее
MATLAB Command Line Plotting, Part 2
9:47
Просмотров 86 тыс.
Branching structures in MATLAB- IF-ELSE
9:44
Просмотров 40 тыс.
Прятки #nyanmp3
00:25
Просмотров 187 тыс.
Script M-Files in MATLAB
10:00
Просмотров 159 тыс.
Looping structures in MATLAB: WHILE loops
8:03
Просмотров 58 тыс.
MATLAB Files -- Scripts and Functions
23:35
Просмотров 235 тыс.
3 Ways to Create a Function in MATLAB
4:14
Просмотров 31 тыс.
MATLAB Function Plotting Basics
9:21
Просмотров 520 тыс.
Array manipulation in MATLAB
9:55
Просмотров 225 тыс.
MATLAB Command Line Plotting: Simple example
5:23
Просмотров 44 тыс.
FOR loops in MATLAB: Nested FOR loops
7:32
Просмотров 335 тыс.