Skip to main content
4-Participant
Mar 10, 2025 8:14 AM UTC
Solved

Element wise multiplication of a 4x1 matrix by a 4x4 element matrix

I am trying to achieve something like the below (the equal sign is text only). I'm not even sure if this is mathematically possible however, and may require some manipulation to achieve?


StuartF_0-1741593575760.png


Here is what it looks like when I try to do it

StuartF_1-1741594153746.png

Appreciate any possible help with this, it's been a long while since I studied matrices!

I am on Prime 9.0 if that makes any difference.

23-Emerald I
Mar 10, 2025 10:04 AM UTC

Try using the diag function on v:

Fred_Kohlhepp_0-1741601057991.png

 

2 replies

23-Emerald I
Mar 10, 2025 10:04 AM UTC

Try using the diag function on v:

Fred_Kohlhepp_0-1741601057991.png

 

Translate
StuartF4-ParticipantAuthor
4-Participant
Mar 10, 2025 10:27 AM UTC

Hi Fred,

 

That is excellent, thank you!

Marked as solved.

 

Many thanks,

Stuart

Translate