MathGroup Archive 2008

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Re: Constructing vector using table

  • To: mathgroup at smc.vnet.net
  • Subject: [mg91076] Re: [mg91026] Re: Constructing vector using table
  • From: "Prateek K Jha" <scientistjha at gmail.com>
  • Date: Tue, 5 Aug 2008 04:03:56 -0400 (EDT)
  • References: <g6t0i8$3dq$1@smc.vnet.net> <200808040721.DAA13720@smc.vnet.net>

That solves my problem.
Thanks all for your help

Prateek

On Mon, Aug 4, 2008 at 2:21 AM, Jens-Peer Kuska
<kuska at informatik.uni-leipzig.de> wrote:
> Hi,
>
> beside you code is not working at all, remove the MatrixForm[]
> from U.
>
> Regards
>   Jens
>
> Prateek K Jha wrote:
>> I am trying to create a vector using "Table" in which I enter a
>> function that depends on other functions. An excerpt from the code is:
>>
>> u2[i_] := 1 + Log[\[CapitalPhi][[i]]];
>> un[i_] :=
>>   Switch[IntegerPart[i/(m + 1)], 0, u1n[i], 1, u2[i], 2, u2[i]];
>>
>> U = Table[un[i], {i, 1, 3*m}] // MatrixForm;
>> Dimensions[U]
>>
>> Output:
>> {1}
>>
>> Everything runs fine and even the vector is generated when I see the
>> form of U. But, I am not able to do any operations on this matrix
>> (like inverse, transpose etc). Even the Dimensions[U] give me 1 while
>> it should be 60.
>>
>> Please help me through if you can. If I am not clear or you need more
>> info, please let me know
>>
>> Regards
>> Jha
>>
>
>


  • Prev by Date: How to get objects closer to each other in a Graphics Grid?
  • Next by Date: Re: Exported PDFs are too big in file size.
  • Previous by thread: Re: Constructing vector using table
  • Next by thread: Re: Re: NMaximize Questions