MATLAB for Engineers - Introduction to User-Defined Functions (Updated Version Available Now)

Поділитися
Вставка
  • Опубліковано 4 лют 2025

КОМЕНТАРІ • 130

  • @alibaranozpolat8757
    @alibaranozpolat8757 5 років тому +83

    Your English was very clear. I understood what you tried to teach us, easily. Thank you so much from Turkey. :)

  • @d4c159
    @d4c159 4 роки тому +83

    u were able to explain funtions in 12 miuntes ,while my teacher couldent in 2 weeks
    thank you

    • @vece_calls
      @vece_calls 3 роки тому +1

      my teacher literally just talked bs no one understood shit HAHA always gotta watch yt

    • @sgurdmeal662
      @sgurdmeal662 2 роки тому

      I hope they taught you how to spell.

    • @ptrkmr
      @ptrkmr Рік тому

      Clearly they weren't an English teacher

  • @MrLoy2009
    @MrLoy2009 4 роки тому +3

    I do not understand how can someone dislike this video. Thank you so much for the tutorial.

  • @narveful
    @narveful 5 років тому +7

    Very helpful! Finally someone who speaks clearly and slow enough!

  • @soumyadeepdas8469
    @soumyadeepdas8469 2 роки тому +3

    My gosh , I found your channel at the exact moment I needed the most ...and thank you for your simple yet detailed approach, sir .

  • @okaekofi5009
    @okaekofi5009 Рік тому +1

    You're indeed a great tutor, for once you've really made me enjoy a lesson of MATLAB. hoping to learn more from you, boss

  • @jacobhouston1655
    @jacobhouston1655 3 роки тому +8

    I like how you used simple, one character variables, for your first explanation. Unlike the other MatLabbers who use words with underscores as their variables. They make things more complicated than they need to be for beginners like us. I like your simple approach.

  • @noneofyourbusines110
    @noneofyourbusines110 3 роки тому +1

    thank you. I now have a glimmer of hope that I'm going to pass this class. my professor went over this for 4 hours last class and I had no idea what he was saying

    • @saraaxx9100
      @saraaxx9100 3 роки тому

      funny how we all are in the same boat when studying this in the university 🤕

  • @ganjifs
    @ganjifs 5 років тому +16

    Wanted to give 2 like but i could not, gave only one. Life saver!

  • @jianzengding6118
    @jianzengding6118 4 роки тому +9

    My professor spent 2 weeks to teach us if, elseif, else and functions, and I still cannot get it. You just use 20 mins. clear English expression. Thank you

    • @navjotsingh2251
      @navjotsingh2251 4 роки тому +3

      If weather = "Sunny":
      bring suncream;
      Elseif weather = "rain"':
      bring umbrella;
      This is a basic example, but you use else and elseif statements when you want to make more than one decision.

  • @tukriko
    @tukriko 3 роки тому

    Amazingly clear and precise instructions, even a Matlab noob like myself understood it from here with ease. Thanks bro!

  • @athena9357
    @athena9357 5 років тому +1

    The way you explained is so easy to follow and I finally get it after watched many others. Please make more if it is possible, thank you for all your efforts!

  • @ryanh9598
    @ryanh9598 4 роки тому

    why would anyone dislike this lmao, super clear, and exactly what you clicked for.

  • @asifraj321
    @asifraj321 2 роки тому

    You are a wonderful teacher. you explain the topic so nicely that one can understand very quickly. Want to learn more about matlab from you.

  • @navneetkumarsabre7275
    @navneetkumarsabre7275 3 роки тому +1

    Thank you so much for the absolute clear explanation of every point. Lots of thank you from India.. Namaste 🙏🙏🙏🇮🇳🇮🇳🇮🇳🇮🇳

  • @nguyenuchoang7330
    @nguyenuchoang7330 4 роки тому +1

    In order to let us understand what you said, you was trying to talk so slow, thank you from vietnam!!

  • @MuhammadHussain-mi8wk
    @MuhammadHussain-mi8wk 2 роки тому

    Very nice presentation. Thank you very much. Respect from Pakistan

  • @sarperarslan3085
    @sarperarslan3085 3 роки тому +1

    Thank you for that brief explanation

  • @calculusfalconerd
    @calculusfalconerd 3 роки тому +2

    Thank you so much! This helped a lot! I’m trying to learn more about Matlab because I’m using it a lot in my internship. 😊

  • @hectorgarcia-pacheco4943
    @hectorgarcia-pacheco4943 3 роки тому +2

    Great video! Easy to follow and super helpful!

    • @SpartanProfessor
      @SpartanProfessor  3 роки тому

      Thanks! I'm actually about to release an updated version of this since there have been some slight changes to the function template in MATLAB.

  • @learnnewfoodworldwide8806
    @learnnewfoodworldwide8806 3 роки тому +2

    Thank you so much David 🙏🏻 You are such a brilliant tutor. I love your explanation and it's easy to comprehend and remember forver once learned from you. All the best

  • @beefybeef1326
    @beefybeef1326 3 роки тому

    Im so happy i found your channel. You explained this so clearly and got straight to the point. Subscribed!!

  • @xtropy7439
    @xtropy7439 3 роки тому +1

    Thanks for the pin point explanation!

  • @mehmetberke9872
    @mehmetberke9872 4 роки тому

    This was a difficult topic for me to understand. Thank you (Teşekkürler) from Turkey.

  • @Marketsentiment293
    @Marketsentiment293 5 років тому

    Very nicely explained. Everyone learning matlab should watch this video.

  • @gabrielayuel7897
    @gabrielayuel7897 4 роки тому +1

    Very helpful! Very clear English and excellent explanation . Sir, can you add more Tutorials if possible please.

  • @gideonmufumbi6391
    @gideonmufumbi6391 4 роки тому

    Brilliant video. So clear and straight to the point. Thanks a lot.

  • @harrytaylor2479
    @harrytaylor2479 3 роки тому

    thanks elijah wood, that was very helpful, exactly what I was looking for

  • @AnilChoudhary-fs2oq
    @AnilChoudhary-fs2oq 4 роки тому

    Thanku so much sir !! This is so helpful... Lots of love from India

  • @MHamd-qo1yi
    @MHamd-qo1yi 4 роки тому

    Your accent is so clear...good job!!👍🏻

  • @raghuramanks7964
    @raghuramanks7964 4 роки тому

    David, Nice and simplified presentation

  • @sinethembanondabula2947
    @sinethembanondabula2947 4 роки тому +1

    learning this through online lectures is a nightmare😫😫 thank you for your help😀😀🤓

  • @alirezamogharabi8733
    @alirezamogharabi8733 3 роки тому +1

    Helpful, Really appreciate.

  • @fredaaseyebright1036
    @fredaaseyebright1036 4 роки тому

    thanks we want more of your videos, really helpful stuff

  • @carleymccartney8652
    @carleymccartney8652 3 роки тому

    This was such a helpful video! Thank you for your thorough explanation :)

  • @onyiboemmanuel6060
    @onyiboemmanuel6060 4 роки тому

    you are awesome, thanks a lot, you deserve 5 stars

  • @njood6358
    @njood6358 4 роки тому

    Thank you so much that was so helpful. From the UAE

  • @omerbozkurt4444
    @omerbozkurt4444 4 роки тому

    thanks for your explanation. all your videos so helpful.

  • @AdityaSingh-kw8bi
    @AdityaSingh-kw8bi 4 роки тому +1

    amazing explanation bro

  • @chaitanxyadongare
    @chaitanxyadongare 3 роки тому

    thanks David, it was a great video!

  • @lielgh6114
    @lielgh6114 3 роки тому

    he explained so good

  • @yacinemaaroof1496
    @yacinemaaroof1496 3 роки тому

    keep going
    The explanation was simple and understandable 🥰😀
    Thank you very much 🤍 💐

  • @petarspasojevic9687
    @petarspasojevic9687 4 роки тому +1

    This helped me thank you, could you possibly do more advanced videos? Like a function and having conditional statements? Such as finding a root of a function. I feel like this would be really well done by you.
    Thanks again.

  • @maudanderson8860
    @maudanderson8860 4 роки тому

    very good explanation. i recommend to beginners learning matlab

  • @seunadewola3523
    @seunadewola3523 4 роки тому

    lovely video and very easy to understand

  • @lauraegasricse1425
    @lauraegasricse1425 3 роки тому

    Ou, thank you. I have been for long hours trying to do a function ~~~^^

  • @ujuuju4311
    @ujuuju4311 4 роки тому

    Very clear explanation thanks for this vid

  • @farukkilic6010
    @farukkilic6010 4 роки тому

    congratulations. you spoke clearly. Can we call A and V value from another file (not A or V form) at the same time. By entering A and V entries into the file, not from the Command window.

  • @kishoremn191
    @kishoremn191 4 роки тому

    very well presented. loved it. Thank you

  • @ziaurrahman4369
    @ziaurrahman4369 Рік тому

    Excellent way of explaining things sir. I have a question.
    Sir how can we increase the font size of the text in the code like yours.

    • @SpartanProfessor
      @SpartanProfessor  11 місяців тому

      Go to the HOME tab. Click the Preferences icon in the ENVIRONMENT section. Select Fonts from the menu. Select a new size from the dropdown menu in the Desktop code font section.

  • @cutestanimalsofworld6698
    @cutestanimalsofworld6698 3 роки тому

    Thank you sir,this is exactly what do i want.

  • @sarahimunoz9555
    @sarahimunoz9555 5 років тому +4

    AMAZING extremely helpful !

  • @radiamoon2395
    @radiamoon2395 4 роки тому

    thank you sir everything is clear now

  • @sediepremps
    @sediepremps 2 роки тому

    How do you deal with the error that says "input arguments might be unused" ?

  • @pb1248
    @pb1248 4 роки тому

    crisp and clear !

  • @AbuTaher-eh1is
    @AbuTaher-eh1is 2 роки тому

    Thank you professor.

  • @venkatesh2008
    @venkatesh2008 4 роки тому

    Thanq Very much! I understood very clearly!!!!!!!!!!

  • @lamprosvelentzas7112
    @lamprosvelentzas7112 4 роки тому

    Thank you! Very helpful!

  • @chiluverunrcmanishankar2821
    @chiluverunrcmanishankar2821 2 роки тому

    Can you do more videos pls and can you do videos on code generation in matlab

  • @PranavaPakala
    @PranavaPakala 3 роки тому

    very clear! thank you

  • @kennydoritos
    @kennydoritos 5 років тому +1

    is it possible to do a function within a function? if so, how do we pass more inputs into the inner most function?

  • @ranapratap4961
    @ranapratap4961 4 роки тому

    Awesome brother. Thank u.

  • @kulenidiro2786
    @kulenidiro2786 3 роки тому +1

    I am getting "undefined function or variable" error please help

  • @omarel-ghezawi6466
    @omarel-ghezawi6466 2 роки тому

    Excellent!

  • @ghadaragab2076
    @ghadaragab2076 4 роки тому

    I hope u make more videos About GUI matlab

  • @aishasalem4182
    @aishasalem4182 4 роки тому

    that helped a lot! thanks

  • @alvarocuevas4080
    @alvarocuevas4080 4 роки тому

    Am I able to create a new function after using %% within this same script? I am having trouble with this
    as it is an assignment and there are multiple examples.

  • @shadanaladin4796
    @shadanaladin4796 3 роки тому

    thanks my dear😍

  • @gowrisankarv5730
    @gowrisankarv5730 4 роки тому

    How to use both sigshift and sigadd

  • @Amjjad
    @Amjjad 3 роки тому

    So helpful

  • @sin3divcx
    @sin3divcx 4 роки тому

    When i write area_volume(2,20), then only area is displayed. Why?

  • @pawandev1673
    @pawandev1673 4 роки тому

    Hey if i want to write a resarch paper in Robotics do i need to learn something else

  • @stamfordpolytechnic2656
    @stamfordpolytechnic2656 2 роки тому

    Thank you!

  • @mdmodassirfirdaus4528
    @mdmodassirfirdaus4528 4 роки тому

    please provide whole course on matlab

  • @mohaimenulislam7137
    @mohaimenulislam7137 4 роки тому

    In my case, it's always showing that 'undefined function or variablr r'. Sadly, it's not working for me.

  • @mustafakhan5821
    @mustafakhan5821 2 роки тому

    Im a newbie to Matlab. Where can i learn

  • @daltonvanstratten7248
    @daltonvanstratten7248 4 роки тому

    How can I write a function where I am using a string as the input?? e.g. [output] = function("String_Input")

  • @emanuelalemshet7486
    @emanuelalemshet7486 4 роки тому

    This is awesome!

  • @ThetruthQ12
    @ThetruthQ12 4 роки тому

    thank you so much

  • @siyadesai9892
    @siyadesai9892 3 роки тому

    Thank you 🥰

  • @apostolosfilippos
    @apostolosfilippos 4 роки тому

    So clear accent. I guess you are from Greek origin? Ευχαριστώ!

  • @jimitvagadiya2215
    @jimitvagadiya2215 4 роки тому

    Using the user defined function created in above two task write a MATLAB code to generate following signals and plot them:
    1. x(n)=u (n ) −6 ≤ n ≤ 6
    2. x1(n)=x(n+2)
    3. x2(n)=x1(2n)
    4. x3(n)=x1(-n)
    CAN YOU SOLVE THIS PROBLEM .......

  • @semimathi6018
    @semimathi6018 4 роки тому

    very clear

  • @LiverpoolFC1012-p9x
    @LiverpoolFC1012-p9x 3 роки тому

    Thanks mate

  • @heinminzaw6932
    @heinminzaw6932 6 років тому

    Thank you so much!!!

    • @heinminzaw6932
      @heinminzaw6932 6 років тому

      @@SpartanProfessor waiting for next video

  • @stoic_sapien1
    @stoic_sapien1 4 роки тому

    make more videos professor

  • @TheKnowledgeNook777
    @TheKnowledgeNook777 3 роки тому

    Hey, @spartan professor, thank you for excellent video! I have one doubt, can we define multiple functions in a same file?

    • @SpartanProfessor
      @SpartanProfessor  3 роки тому

      Yes you can! You can define functions within another function (nesting). Or, you can create a primary function that contains one or more subfunctions.

  • @foyemshalomkarisshalomkari2490
    @foyemshalomkarisshalomkari2490 5 років тому

    Thanks so much. How can I do to watch more videos on your courses on matlab

    • @foyemshalomkarisshalomkari2490
      @foyemshalomkarisshalomkari2490 5 років тому

      @@SpartanProfessor Thank you Sir
      Of all the videos I have watch you explained best
      Please how can I do to learn and master ma tlab
      I just started it a week ago.its so confusing given that am doing it by myself

  • @erniez7259
    @erniez7259 3 роки тому

    GOAT status

  • @TylerMatthewHarris
    @TylerMatthewHarris 4 роки тому

    thanks

  • @deyardeyar8163
    @deyardeyar8163 4 роки тому

    thanks a lot

  • @ttai_51
    @ttai_51 4 роки тому

    good one! #techtalks

  • @brianrosado7211
    @brianrosado7211 4 роки тому

    Sow me how the loop works.

  • @TheTeehee11111
    @TheTeehee11111 4 роки тому +1

    1.25x speed helps a lot

  • @abdulmuqeet7665
    @abdulmuqeet7665 3 роки тому

    THANK YOUUUUUUUUUUUU

  • @billg1236
    @billg1236 5 років тому

    thanks!!

  • @liptoncheetos
    @liptoncheetos 3 роки тому

    My teacher just straight up skipped functions and normal scripts. We just do everything in livescript. :/

  • @RoshanKumar-uc3gy
    @RoshanKumar-uc3gy 4 роки тому

    better.

  • @BoldBass24
    @BoldBass24 5 років тому

    +

  • @zooweemama2794
    @zooweemama2794 3 роки тому +1

    Didn't work. Not helpful

    • @SpartanProfessor
      @SpartanProfessor  3 роки тому

      You viewed a literal screen recording of the function working… If you received an error I might be able to assist in diagnosing the problem. Your comment, not helpful.