Calculation with three dimensional matrices
I want to calculate a vector , with each element defined as follows
, where is the set of dimensional vector, and is also the set of dimensional vector, is a constant. The superscript is denoted as the transpose operation.
In my matlab code, is stored as a three dimensional matrix , its dimension is (where ).
is also stored as a three dimensional matrix , its dimension is (where ). is a scalar.
I know i can use multiple for loop to calculate this vector , but it is too inefficient. Is there any some fast way to calculate it, maybe use three-dimensional matrix calculation method?I want to calculate a vector , with each element defined as follows
, where is the set of dimensional vector, and is also the set of dimensional vector, is a constant. The superscript is denoted as the transpose operation.
In my matlab code, is stored as a three dimensional matrix , its dimension is (where ).
is also stored as a three dimensional matrix , its dimension is (where ). is a scalar.
I know i can use multiple for loop to calculate this vector , but it is too inefficient. Is there any some fast way to calculate it, maybe use three-dimensional matrix calculation method? I want to calculate a vector , with each element defined as follows
, where is the set of dimensional vector, and is also the set of dimensional vector, is a constant. The superscript is denoted as the transpose operation.
In my matlab code, is stored as a three dimensional matrix , its dimension is (where ).
is also stored as a three dimensional matrix , its dimension is (where ). is a scalar.
I know i can use multiple for loop to calculate this vector , but it is too inefficient. Is there any some fast way to calculate it, maybe use three-dimensional matrix calculation method? matrix manipulation MATLAB Answers — New Questions