14-1 ��������������?

MATLAB ƾǹB⤸]Arithmetic Operators^]tUذ򥻼ƾǹBAҦpG[BBBAHΨLMx}ƾǹBAҦpGmBBkCbi@sꪺƾǹBɡAuǥѰӧCiC|pUG

  1. m].^A].^^B@mm]^Bx}]^^
  2. ]+^Bt]-^]ҦpG+5B -8 )
  3. k].*^Bk]./^B].\^Bx}k]*^Bx}k]/^Bx}]\^
  4. [k]+^Bk]-^
  5. _]:^]ҦpG x = 1:2:5 ^

bWzƾǹB⤸AP@B⤸㦳ۦPuס]Priority^A]bpWAOѥܥk̦AYB⤸uצü{ɡA̦nkANO[WAӱj{ϥΪ̩ҹwBⶶǡC

MATLAB ƾǹB⤸i䴩¶qi}]Scalar Expansion^AYiN@¶qi}Aתx}AAiƾǹBAҦpG

Example 1: 14-MATLABB⤸/scalarExpansion01.ma = [1 2; 3 4]; b = a+1 c = 1./a b = 2 3 4 5 c = 1.0000 0.5000 0.3333 0.2500

x}ƾǹBAiѦҥѲĤEux}BzPBvĤTp`ux}ƾǹBvC


MATLAB{]pGJg