Using a For Loop to Access Array Values

แชร์
ฝัง
  • เผยแพร่เมื่อ 25 พ.ย. 2024
  • You can use for loops in MATLAB to access certain elements of an array. In a lot of cases, MATLAB does this kind of thing on its own, but occasionally there are things you can't do with built-in functions.

ความคิดเห็น • 28

  • @shirerat4398
    @shirerat4398 5 ปีที่แล้ว +21

    Thank you! You're the Bob Ross of Matlab tutorials!!

  • @belembaogo007
    @belembaogo007 3 ปีที่แล้ว +1

    Can't express my gratitude well enough for making this video.

  • @qus.9617
    @qus.9617 6 ปีที่แล้ว +3

    Ah I've been stuck for so long. After watching your videos, pretty much solved all my dilemmas that I encountered to write a program. Many thanks.

  • @mohamedmaache7349
    @mohamedmaache7349 6 ปีที่แล้ว +1

    Trust me you have the best explanation ever because you write the short cut and type also the long way so we can understand what is the reason for using this

  • @walterspencer7524
    @walterspencer7524 4 ปีที่แล้ว +1

    This was extremely helpful!
    A+
    In demonstrating the loop function very simple and relatable

  • @sayenshin
    @sayenshin 7 ปีที่แล้ว +1

    Thank you so much beautiful. It's so clear, simple and to the point! This playlist really helped me.

  • @joeysukhi6889
    @joeysukhi6889 5 ปีที่แล้ว +1

    God bless you. This vid helped me alot

  • @julianoffs
    @julianoffs 5 ปีที่แล้ว +1

    I finally understood, thanks

  • @wesmcdaniel8686
    @wesmcdaniel8686 4 ปีที่แล้ว

    How would you go about sorting a multidimensional array using loops? I have an 8x10 array with grade values and I'm able to get the first column sorted but doesn't continue to the rest of the columns. :(

  • @azrieltan5960
    @azrieltan5960 7 ปีที่แล้ว +1

    thank you so much for your help

  • @Todaaneko
    @Todaaneko 5 ปีที่แล้ว +1

    When you did the adding by pairs the first time, was it necessary to initialize the for loop? Your videos are a great help by the way!

  • @OmanHawks_CR
    @OmanHawks_CR 5 ปีที่แล้ว

    YOU ARE A BIG HELP!!

  • @paulspage5064
    @paulspage5064 3 ปีที่แล้ว

    How does someone interleave 2 arrays

  • @hamadhalbahrani8781
    @hamadhalbahrani8781 4 ปีที่แล้ว

    Thank you so much

  • @benaturalbebeautifulreshma863
    @benaturalbebeautifulreshma863 6 ปีที่แล้ว

    hey need ur help for looping of one matrix

  • @chapa36600
    @chapa36600 8 ปีที่แล้ว +11

    Awwh your voice is sooo cute! :D
    Bdw, thanx for uploading this tutorial. was very helpful for me! yeyi

  • @muhaiminrahman3935
    @muhaiminrahman3935 3 ปีที่แล้ว

    thank youuuu and you really have cute voiceee

  • @franckrksc3761
    @franckrksc3761 5 ปีที่แล้ว

    need help please, i doing some simulation that using 5 variables classified into 5 columns, then output the result into xls file.

    • @franckrksc3761
      @franckrksc3761 5 ปีที่แล้ว

      Example:
      A =[0.1; 2;4;0.6;0;1.5;5]
      B =[0.1; 1;4;0.6;0;1.3;2]
      C =[0.1; 2;4;0.6;0;0.5;1]
      index =1:size(A)
      I need the following output:
      out_func(index) = 3*A + B - C;
      which means that for row 1, the program will use A(1), B(1), and C(1) to generate an output (out_func(1) that will be written into excel file etc ...

  • @hassannemati5332
    @hassannemati5332 4 ปีที่แล้ว

    جوووووننننننن تو فقط آموزش بده 😘

  • @lokeshprofessional8641
    @lokeshprofessional8641 5 ปีที่แล้ว

    thank you very much mam

  • @ryadtolaymat5718
    @ryadtolaymat5718 4 ปีที่แล้ว

    amazing

  • @marwanali5504
    @marwanali5504 3 ปีที่แล้ว

    U are awesome

  • @greyishhh93
    @greyishhh93 6 ปีที่แล้ว

    thankyou thankyou thankyou so much

  • @abrahanshahzad1371
    @abrahanshahzad1371 4 ปีที่แล้ว

    Love you hard 😘❤️❤️😘❤️😘❤️😘❤️😘😘😘❤️😘😘😘❤️❤️

  • @abdulshekhani8610
    @abdulshekhani8610 3 ปีที่แล้ว

    2021

  • @mohammadowais1981
    @mohammadowais1981 5 ปีที่แล้ว

    what the hell was that?