Stuart’s MATLAB Videos

Watch and Learn

Basics: Making a vector the MATLAB way

I recently received an email asking me a question about how to create an array that is composed of different outputs from functions. The user was new to MATLAB, but had a background in programming other languages. This was evident in his code, which used the scalar approach required of languages like C. In this video, I show how we can use vector indexing in MATLAB to express his code in a much more natural way.
Video Player is loading.
Current Time 0:00
Duration 2:30
Loaded: 0.00%
Stream Type LIVE
Remaining Time 2:30
 
1x
  • Chapters
  • descriptions off, selected
  • captions off, selected
  • en (Main), selected
    |
    • print

    评论

    要发表评论,请点击 此处 登录到您的 MathWorks 帐户或创建一个新帐户。

    Loading...
    Go to top of page