loop of linear combination of columns

1 次查看(过去 30 天)
Hi,
Can Any one help me to calculate this θ matrix without loop?
let
A=randn(M,N)
B=randn(J,M)
I want to calculate the θ matrix using this formula
: the column vector of θ
: the elemnt in the row vector and column vector of A
: the column of B
thanks.

回答(1 个)

Ameer Hamza
Ameer Hamza 2020-9-24
Isn't it just
theta = B*A;

类别

Help CenterFile Exchange 中查找有关 Loops and Conditional Statements 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by