结构分析的有限元法-第二章.pptVIP

  • 10
  • 0
  • 约 58页
  • 2017-01-03 发布于重庆
  • 举报
MATLAB语言程序设计初步 if I == J A(I,J) = 2; elseif abs(I-J) == 1 A(I,J) = -1; else A(I,J) = 0 ; end IF语句 MATLAB与C/C++十分相似! help if IF statement condition. The general form of the IF statement is IF expression statements ELSEIF expression statements ELSE statements END The statements are executed if the real part of the expression has all non-zero elements. The ELSE and ELSEIF parts are optional. Zero or more ELSEIF parts can be used as well as nested IFs. The expression is usually of the form expr rop expr wh

文档评论(0)

1亿VIP精品文档

相关文档