Re: X*Y=X and sum(X)=1




meris300@xxxxxxxxx wrote:
> hello,
>
> i would like to know what is the easiest way of solving the following
> system of equations:
>
> X(1xn)* Y(n*n)=X(1xn)
>
> I know Y and i know that the sum of all the elements of the unknow
> vector X must add 1
>
> thanks,
> olea
>
> PS: ideas on how to solve this in MATLAB are also very welcome :-)

Dear Olea,

There will be a solution to this problem as long as 1 is an eigenvalue
of transpose(Y), in which case X will be the corresponding eigenvector.
If not, the system will not have a solution, AFAIK.

Best regards.

Hélio CB

.



Relevant Pages


Quantcast