matlab programming-4.pptVIP

  • 13
  • 0
  • 约 27页
  • 2016-12-03 发布于河南
  • 举报
matlab programming-4

* 4 Loops 王素珍 青岛理工大学 :wangsuzhen2020@163.com Mobile Tel:132-1002-1986 4.1 The While Loop A while loop is a block of statements that is repeated indefinitely as long as some condition is satisfied. The general form of a while loop is while expression …… end If the expression is non-zero (true), the code block will be executed, and then control will return to the while statement. If the expression is still non-zero (true), the statements will be executed again. 4.1 The While Loop The pseudocode corresponding to a while loop is While expre …… end Example 4.1 (

文档评论(0)

1亿VIP精品文档

相关文档