The dot itself is not an operator, .^
is.
The .^
is a pointwise¹ (i.e. element-wise) power, as .*
is the pointwise product.
.^
Array power.A.^B
is the matrix with elementsA(i,j)
to theB(i,j)
power. The sizes ofA
andB
must be the same or be compatible.
C.f.
- “Array vs. Matrix Operations”: https://mathworks.com/help/matlab/matlab_prog/array-vs-matrix-operations.html
- “Pointwise”: http://en.wikipedia.org/wiki/Pointwise
- “Element-Wise Operations”: http://www.glue.umd.edu/afs/glue.umd.edu/system/info/olh/Numerical/Matlab_Matrix_Manipulation_Software/Matrix_Vector_Operations/elementwise
¹) Hence the dot.
Related Posts:
- Stereograms: Decoding an image from a pattern [closed]
- What is the result of % in Python?
- What is the operator `.*` doing in matlab?
- What does ‘&’ do in a C++ declaration?
- Differences between Octave and MATLAB
- what is the meaning of == sign?
- The difference between += and =+
- A tool to convert MATLAB code to Python
- Read .mat files in Python
- “Function with duplicate name cannot be defined” error but no duplicate function
- What does `<>` mean in Python?
- What is the difference between ‘/’ and ‘//’ when used for division?
- Making a augmented matrix in matlab, and reduced row echelon form
- Is there a difference between x++ and ++x in java?
- how to draw a slope field in matlab
- Add custom legend without any relation to the graph
- How to add \ before all special characters in MATLAB?
- What is the default MATLAB Color Order?
- What does the MATLAB error “scalar structure required for this assignment” refer to in this statement?
- Matlab: Using imagesc in grayscale without black
- First differences filter
- Difference between disp and fprintf
- Prolog “or” operator, query
- FreeMat : How different is it from Octave?
- Does Python have a ternary conditional operator?
- Which equals operator (== vs ===) should be used in JavaScript comparisons?
- How is the AND/OR operator represented as in Regular Expressions?
- What does ** (double star/asterisk) and * (star/asterisk) do for parameters?
- Behaviour of increment and decrement operators in Python
- Is there a “not equal” operator in Python?
- Python integer incrementing with ++ [duplicate]
- What is the := operator?
- What does “:=” mean in Pseudocode? [closed]
- Is it bad practice to comment out single lines of CSS with //?
- What exactly does += do in python?
- Use of “instanceof” in Java [duplicate]
- Does Python have a ternary conditional operator?
- What does “while True” mean in Python?
- What’s the meaning of “=>” (an arrow formed from equals & greater than) in JavaScript?
- Arrow operator (->) usage in C
- Is there a “not equal” operator in Python?
- What are XAND and XOR
- Is double square brackets [[ ]] preferable over single square brackets [ ] in Bash?
- How to best print output to command window during a loop in Matlab?
- IndentationError: unexpected indent error
- What does the ^ (XOR) operator do? [duplicate]
- syntax error: unexpected token <
- What do these operators mean (** , ^ , %, //)? [closed]
- What do these operators mean (** , ^ , %, //)? [closed]
- Putting a simple if-then-else statement on one line [duplicate]
- ^=, -= and += symbols in Python
- How can I do a line break (line continuation)?
- How do you comment out code in PowerShell?
- How do I break a string in YAML over multiple lines?
- What is the difference between {} and [] in python?
- syntaxerror: “unexpected character after line continuation character in python” math
- Creating a “logical exclusive or” operator in Java
- What does “|=” mean? (pipe equal operator)
- What are bitwise shift (bit-shift) operators and how do they work?
- How to concatenate string variables in Bash
- JavaScript error (Uncaught SyntaxError: Unexpected end of input)
- syntaxerror: “unexpected character after line continuation character in python” math
- Error: “expression must have integral or unscoped enum type” [duplicate]
- `from … import` vs `import .` [duplicate]
- JavaScript error (Uncaught SyntaxError: Unexpected end of input)
- Tab space in Markdown
- All possible array initialization syntaxes
- PowerShell and the -contains operator
- Logical XOR operator in C++?
- PHP “or” Syntax
- Regex how to match an optional character
- In JavaScript is != same as !==
- How to make “if not true condition”?
- syntaxerror: “unexpected character after line continuation character in python” math
- What does ** (double star/asterisk) and * (star/asterisk) do for parameters?
- size of NumPy array
- What does the question mark character (‘?’) mean in C++?
- -bash: syntax error near unexpected token `newline’
- How do you express binary literals in Python?
- What Does This Mean in PHP -> or =>
- How do I iterate over a range of numbers defined by variables in Bash?
- Comments in Markdown
- proper name for python * operator?
- proper name for python * operator?
- Can someone explain __all__ in Python?
- What does the power operator (**) in python translate into?
- How to exit a loop in Python?
- How can I do a line break (line continuation) in Python?
- How do I pass multiple parameters into a function in PowerShell?
- Looking for a clear description of Excel’s .xlsx XML format
- How do I iterate over a range of numbers defined by variables in Bash?
- Comments in Markdown
- What does the /= operator mean in Python?
- What does the question mark character (‘?’) mean in C++?
- -bash: syntax error near unexpected token `newline’ for display command
- What is the difference between syntax and semantics in programming languages?
- Are multi-line strings allowed in JSON?
- Python: SyntaxError: keyword can’t be an expression
- Are multi-line strings allowed in JSON?
- What does “-ne” mean in bash?