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?
- How is the AND/OR operator represented as in Regular Expressions?
- What does ** (double star/asterisk) and * (star/asterisk) do for parameters?
- Python integer incrementing with ++ [duplicate]
- What is the := operator?
- Is it bad practice to comment out single lines of CSS with //?
- Does Python have a ternary conditional operator?
- What does “while True” mean in Python?
- What does the ^ (XOR) operator do? [duplicate]
- syntax error: unexpected token <
- Putting a simple if-then-else statement on one line [duplicate]
- How can I do a line break (line continuation)?
- What does “|=” mean? (pipe equal operator)
- What are bitwise shift (bit-shift) operators and how do they work?
- 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]
- PowerShell and the -contains operator
- Logical XOR operator in C++?
- PHP “or” Syntax
- Regex how to match an optional character
- size of NumPy array
- What Does This Mean in PHP -> or =>
- Comments in Markdown
- Can someone explain __all__ in Python?
- How can I do a line break (line continuation) in Python?
- 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
- Python: SyntaxError: keyword can’t be an expression
- Are multi-line strings allowed in JSON?
- What does “-ne” mean in bash?
- What is the purpose of “&&” in a shell command?
- Reference — What does this symbol mean in PHP?
- Python equivalent to ‘hold on’ in Matlab
- Else without if
- The tilde operator in Python
- Is there a difference between `continue` and `pass` in a for loop in python?
- JavaScript error (Uncaught SyntaxError: Unexpected end of input)
- What is ‘\0’ in C++?
- What is a Question Mark “?” and Colon “:” Operator Used for?
- What does the percentage sign mean in Python
- jquery variable syntax [duplicate]
- How do you pass a function as a parameter in C?
- error: ‘ostream’ does not name a type
- What does the colon (:) operator do?
- Is there an exponent operator in C#?
- Multiple OR or AND conditions in IF statement
- reading v 7.3 mat file in python
- Bash syntax error: unexpected end of file
- What does the “at” (@) symbol do in Python?
- Understanding the result of modulo operator: %%
- Reference — What does this symbol mean in PHP?
- Why are hexadecimal numbers prefixed with 0x?
- Static Semantics meaning?
- text highlight in markdown
- Syntax error on token(s), misplaced construct(s)
- ternary operator in matlab
- Java syntax explanation – getMenuInflater()
- Python def function: How do you specify the end of the function?
- Cross-reference (named anchor) in markdown
- No Multiline Lambda in Python: Why not?
- Is there a “not in” operator in JavaScript for checking object properties?
- Syntax error on token “;”, { expected after this token in Random string creator
- What does @@variable mean in Ruby?
- Python basemap module impossible to import
- How do you format an unsigned long long int using printf?
- How to get rows and columns count of a 2D array in Java?
- What are the double colons (::) in R?
- Using OR operator in a jQuery if statement
- OCaml mod function returns different result compared with %
- Why virtual & static keywords aren’t allowed outside class declaration?
- What are those pipe symbols for in Ruby?
- PHP syntax question: What does the question mark and colon mean? [duplicate]
- The tilde operator in C
- How to swap text based on patterns at once with sed?