原文地址::  mthread--1-1l 总结了一些matlab的操作符和特殊字符,希望对大家有用. operators and special characters. arithmetic operators. pl s - pl s + pl s - unary pl s + min s - min s - min s - unary min s - mtimes - matrix m ltiply * times - array m ltiply .* mpower - matrix power ^ power - array power .^ mldivide - backslash or left matrix divide mrdivide - slash or right matrix divide  ldivide - left array divide . rdivide - right array divide . kron - kronecker tensor prod ct kron relational operators. eq - eq al == ne - not eq al ~= lt - less than  gt - greater than  le - less than or eq al = ge - greater than or eq al = logical operators. relop - short-circ it logical and && relop - short-circ it logical or || and - element-wise logical and & or - element-wise logical or | not - logical not ~ xor - logical exclusive or any - tr e if any element of vector is nonzero all - tr e if all elements of vector are nonzero special characters. colon - colon : paren - parentheses and s bscripting ( ) paren - brackets [ ] paren - braces and s bscripting { } p nct - f nction handle creation @ p nct - decimal point . p nct - str ct re field access . p nct - parent directory .. p nct - contin ation ... p nct - separator , p nct - semicolon ; p nct - comment % p nct - invoke operating system command ! p nct - assignment = p nct - q ote transpose - transpose . ctranspose - complex conj gate transpose horzcat - horizontal concatenation [,] vertcat - vertical concatenation [;] s bsasgn - s bscripted assignment ( ),{ } s bsref - s bscripted reference ( ),{ } s bsindex - s bscript index bitwise operators. bitand - bit-wise and. bitcmp - complement bits. bitor - bit-wise or. bitmax - maxim m floating point integer. bitxor - bit-wise xor. bitset - set bit. bitget - get bit. bitshift - bit-wise shift. set operators. nion - set nion. niq e - set niq e. intersect - set intersection. setdiff - set difference. setxor - set excl sive-or. ismember - tr e for set member. operatorusage a - alarm (beep)  - backslash $ - dollar sign b - backspace f - form feed n - new line r - carriage ret rn t - horizontal tab v - vertical tab on or o{n} - character of octal val e n xn or x{n} - character of hexadecimal val e n char - if a character has special meaning in a reg lar expression, precede it with backslash  to match it literally.