>
> Hello All:
>
> Can somebody tell me how to make a diagonal matrix from a vector please?
>
> if X is
> 1
> 2
> 3
>
> I need:
> 1 0 0
> 0 2 0
> 0 0 3
>
> Thanks alot,
> Mohsen
>

	[[alternative HTML version deleted]]

