Presentation is loading. Please wait.

Presentation is loading. Please wait.

SPAC Lab, Stevens Work Summary -- Matlab Ning Han, Hongbin Li Department of Electrical and Computer Engineering June 16, 2010 1.

Similar presentations


Presentation on theme: "SPAC Lab, Stevens Work Summary -- Matlab Ning Han, Hongbin Li Department of Electrical and Computer Engineering June 16, 2010 1."— Presentation transcript:

1 SPAC Lab, Stevens Work Summary -- Matlab Ning Han, Hongbin Li Department of Electrical and Computer Engineering June 16, 2010 1

2 SPAC Lab, Stevens Summary of basic Operators 2 Matlab OpName in XMLRemarks + (addition) - (subtraction).* (multiplication)./ (right division).\ (left division) : (colon operator).^ (power).’ (transpose) ’ (complex conjugate transpose) * (matrix multiplication) / (matrix right division) \ (matrix left division) ^ (matrix power)

3 SPAC Lab, Stevens Rules for vector and matrix operations 3 Method Each variable is expressed as a Thing It is further expressed by a Place including: a Thing (the variable) an action (the size of the variable [m,n]) [m,n] expresses the action of creating an m by n matrix Remark The size information is abstracted and stored when the value of this variable is first assigned and is updated whenever the variable’s size changes. Basic operations are defined in the sense of matrix operation.

4 SPAC Lab, Stevens Recognize the Matrix input 4 A = [4,23,2;2,3,5;3,6,7]; Substitute the “;”s inside [] by &s Determine the size of input: nor, noc Translate to XML as an assign Demonstrations Matrix input Value assign Basic operator


Download ppt "SPAC Lab, Stevens Work Summary -- Matlab Ning Han, Hongbin Li Department of Electrical and Computer Engineering June 16, 2010 1."

Similar presentations


Ads by Google