|
[Date Index]
[Thread Index]
[Author Index]
Re: problem of syntax.
- To: mathgroup at smc.vnet.net
- Subject: [mg104385] Re: problem of syntax.
- From: Alexei Boulbitch <Alexei.Boulbitch at iee.lu>
- Date: Fri, 30 Oct 2009 02:16:55 -0500 (EST)
Hi, Julien,
I guess some elegant way exists, but my very first idea is rather straightforward. Assume we have a matrix:
mat1 = Table[{i*j}, {i, 1, 3}, {j, 1, 3}]
is it the type you have in mind? Then try to rewrite it like this:
mat2 = Table[mat1[[i, j, 1]], {i, 1, 3}, {j, 1, 3}]
Have fun, Alexei
Hello everyone,
For some reasons, I have a matrix where each element is itself another
matrix of size one.
How can I transform that in a normal matrix where each element is just the
value ?
I am very confused with mathematica syntax.
thanks,
Julien
--
Alexei Boulbitch, Dr., habil.
Senior Scientist
IEE S.A.
ZAE Weiergewan
11, rue Edmond Reuter
L-5326 Contern
Luxembourg
Phone: +352 2454 2566
Fax: +352 2454 3566
Website: www.iee.lu
This e-mail may contain trade secrets or privileged, undisclosed or otherwise confidential information. If you are not the intended recipient and have received this e-mail in error, you are hereby notified that any review, copying or distribution of it is strictly prohibited. Please inform us immediately and destroy the original transmittal from your system. Thank you for your co-operation.
Prev by Date:
Re: Re: Re: old vs new(V7) BarChart3D
Next by Date:
bitmap with bit depth 1
Previous by thread:
Re: problem of syntax.
Next by thread:
plotting with dotted lines, not dashed
|