Be the first to rate this file! 25 downloads (last 30 days) File Size: 7.17 MB File ID: #18128

Video Tutorial: MATLAB Basics: "Switch case" vs. "If elseif"

by Doug Hull

 

26 Dec 2007 (Updated 27 Dec 2007)

Code covered by BSD License  

Video, tutorial, switch, case, if, then, else, elseif

Download Now | Watch this File

File Information
Description

Three minute video shows how you can replace long complicated If statements with easier to maintain Switch statements. Switch statements are shown for both strings and numerical values.
See more videos without downloading here:
http://blogs.mathworks.com/pick/category/video

MATLAB release MATLAB 7.5 (R2007b)
Zip File Content  
HTML Files Video from http://blogs.mathworks.com/pick
Other Files
64 Basics switch case.css,
64 Basics switch case.flv,
mCode/mainSwitch2.m,
64 Basics switch case.js,
64 Basics switch case_config.xml,
64 Basics switch case_controller.swf,
64 Basics switch case_iPod.m4v,
64 Basics switch case_nofp_bg.gif,
64 Basics switch case_preload.swf,
Additional-embed.js,
ProductionInfo.xml,
swfobject.js,
images/bottom_center.jpg,
images/bottom_center_left.jpg,
images/bottom_left.jpg,
images/bottom_right.jpg,
images/curain_bkgd.gif,
mCode/mainSwitch1.m,
images/dl_icon.gif,
images/dl_icon_bkgd.gif,
images/dl_icon_bkgd_over.gif,
images/dl_row_bkgd.gif,
images/play_bttn_bkgd.gif,
images/play_icon.gif,
images/spacer.gif,
images/top_center.gif,
images/top_center.jpg,
images/top_center_clr.gif,
images/top_left_corner.jpg,
images/top_right_corner.jpg,
images/vid_bkgd.gif,
mCode/main.m,
mCode/mainIf.m,
images/dl_bkgd.gif
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
video Doug Hull 22 Oct 2008 09:40:35
tutorial Doug Hull 22 Oct 2008 09:40:35
switch Doug Hull 22 Oct 2008 09:40:35
case Doug Hull 22 Oct 2008 09:40:35
if Doug Hull 22 Oct 2008 09:40:35
then Doug Hull 22 Oct 2008 09:40:35
else Doug Hull 22 Oct 2008 09:40:35
elseif Doug Hull 22 Oct 2008 09:40:35
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com