Info

This question is closed. Reopen it to edit or answer.

Very easy question on arrayfun or vectorization

1 view (last 30 days)
K.E.
K.E. on 9 Jul 2017
Closed: Walter Roberson on 9 Jul 2017
The question is:
x0 = [3;8]
K = [1 2 3 8 9 10; 2 3 9 -1 2 3];
How can I obtain P where
P = [[1 2;2 3]*x0 [3 8;9 -1]*x0 [9 10; 2 3]*x0]
In general K is very long so I need efficient way to do this.
  1 Comment
Walter Roberson
Walter Roberson on 9 Jul 2017
Duplicates https://www.mathworks.com/matlabcentral/answers/347913-two-questions-on-vectorized-matrix-vector-multiplication

Answers (0)

This question is closed.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!