Doug Hull, MathWorks
(Originally posted on Doug's MATLAB Video Tutorials blog.)
When we design a program, the way we store our data will have an effect on how our code looks as we manipulate that data later. In this video we had the choice to store the coordinates of a robot and obstacles either as a matrix or as a structure with two vectors. This choice will change how we access that data later. In a trivial program like this one, the choice does not have much implication. However the bigger and more involved the programs become, the more these choices will matter.
Recorded: 13 Jun 2014
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .Select web site
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.