help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Applying each element of a vector to each row of a matrix


From: Jordi Gutiérrez Hermoso
Subject: Re: Applying each element of a vector to each row of a matrix
Date: Sun, 19 Dec 2010 12:42:23 -0600

2010/12/19 Martin Helm <address@hidden>:
> Am Sonntag, 19. Dezember 2010, 18:08:45 schrieb Jordi Gutiérrez Hermoso:

>> No, no... exponentiate each row or column of a matrix by each element
>> of a vector.
>
> Ah - I see, sorry misunderstood completely. I have no good solution for that I
> think repmat is the best solution or something similar to that

Okay, so does my original proposal to extend elementwise operators for
the matrix-vector case of compatible dimensions sound silly? I am just
wondering why no one else seems to have wanted such an extension so
far, so perhaps I'm overlooking something blindingly obvious.

- Jordi G. H.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]