Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 7
Default entering a matrix that contains formulae

={TRANSPOSE(MMULT({0.999,-0.001,0;0.001,0.999,0;0,0,1},TRANSPOSE(E38:G38)))}

This is my array formula, it works ok, ie the coordinates in E38:G38 are
transformed by the matrix {0.999,-0.001,0;0.001,0.999,0;0,0,1}
What I want to do is replace the values in the matrix with formulae and cell
references, i.e. e.g. instead of 0.999 I want to enter COS(ATAN($Q$33)),
instead of -0.001 I want -sin(ATAN($Q$33))... etc. I get an error when I try
to enter this.

Any ideas? Is it possible to put formulae into imbedded matrices? I do not
want to have a seperately defined matrix.

Cheers

Incoherent
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 266
Default entering a matrix that contains formulae

"Incoherent" skrev i en meddelelse
...
={TRANSPOSE(MMULT({0.999,-0.001,0;0.001,0.999,0;0,0,1},TRANSPOSE(E38:G38)))}

This is my array formula, it works ok, ie the coordinates in E38:G38 are
transformed by the matrix {0.999,-0.001,0;0.001,0.999,0;0,0,1}
What I want to do is replace the values in the matrix with formulae and
cell
references, i.e. e.g. instead of 0.999 I want to enter COS(ATAN($Q$33)),
instead of -0.001 I want -sin(ATAN($Q$33))... etc. I get an error when I
try
to enter this.

Any ideas? Is it possible to put formulae into imbedded matrices? I do not
want to have a seperately defined matrix.

Cheers

Incoherent


This formula will do the trick:

=TRANSPOSE(MMULT(CHOOSE({1,2,3;4,5,6;7,8,9},Formul a1,Formula2,Formula3,Formula4,Formula5,Formula6,Fo rmula7,Formula8,Formula9),TRANSPOSE(E38:G38)))

--
Best regards
Leo Heuser

Followup to newsgroup only please.


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 7
Default entering a matrix that contains formulae

Beautiful, that works a treat. Thanks a lot.

:)

Incoherent

"Leo Heuser" wrote:

"Incoherent" skrev i en meddelelse
...
={TRANSPOSE(MMULT({0.999,-0.001,0;0.001,0.999,0;0,0,1},TRANSPOSE(E38:G38)))}

This is my array formula, it works ok, ie the coordinates in E38:G38 are
transformed by the matrix {0.999,-0.001,0;0.001,0.999,0;0,0,1}
What I want to do is replace the values in the matrix with formulae and
cell
references, i.e. e.g. instead of 0.999 I want to enter COS(ATAN($Q$33)),
instead of -0.001 I want -sin(ATAN($Q$33))... etc. I get an error when I
try
to enter this.

Any ideas? Is it possible to put formulae into imbedded matrices? I do not
want to have a seperately defined matrix.

Cheers

Incoherent


This formula will do the trick:

=TRANSPOSE(MMULT(CHOOSE({1,2,3;4,5,6;7,8,9},Formul a1,Formula2,Formula3,Formula4,Formula5,Formula6,Fo rmula7,Formula8,Formula9),TRANSPOSE(E38:G38)))

--
Best regards
Leo Heuser

Followup to newsgroup only please.



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 266
Default entering a matrix that contains formulae

"Incoherent" skrev i en meddelelse
...
Beautiful, that works a treat. Thanks a lot.

:)

Incoherent


You're welcome.
Thanks for the feedback :-)

Leo Heuser


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Prolblem entering simple Formulae Andy Excel Discussion (Misc queries) 2 June 14th 06 11:21 AM
Matrix Problem Jeff Excel Discussion (Misc queries) 1 February 4th 06 07:36 PM
How to identify entries in a matrix also present in another list larkindale Excel Worksheet Functions 2 September 16th 05 07:07 PM
entering advanced formulae Confused Excel Worksheet Functions 2 May 12th 05 09:21 PM
entering matrix formula Christian Excel Worksheet Functions 3 November 24th 04 04:36 PM


All times are GMT +1. The time now is 07:31 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"