Re: Matrix operations

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



The problem with this approach however is that I don't have the place
for the extra cells that T2 needs. I very much liked to calculate T2
within the formula.

Maybe I have to say what this is all about. The sheet converts
coordinates between different coordinate systems. Look at the 'excel
sheet' below

A B C D E F G
1 T1: 1 0
2 0 1
3 V1: 1
4 1
5
8 |-sys1 -----------------|-sys2------------------
9 x y t x y t
10 |-----------------------|-----------------------
11 0 0 0 =f12x() =f12y() =f12t()
12 0 1 1 =f12x() =f12y() =f12t()
.........
20 =f21x() =f21y() =f21t() 0 0 0
21 =f21x() =f21y() =f21t() 0 1 1


The first part contains the parameters of the Transformation. That
would be T1 = B1:C2, V1 = B3:B4. The rest is a list of coordinates. In
each row coordinates are given in one system and calculated in the
other one. v1 would now be the 2 cells in the x y column, x (as in my
first posting) would be the t column. Note that the x in this posting
is not the x in the first posting - sorry for the confusion.

The formulas f12x() etc only symbolise the actual formulas and shows
which cells contain the same formulas. An actual example would be (for
D11):
=INDEX( MMULT( $B$1:$C$2 ; $B$3:$B$4 + MMULT( {cos(C11),sin(C11);
-sin(C11),cos(C11)}; A11:B11 ) ) ; 1 )

However, as said in my first posting, this is not possible.

As said the purpose is to transform any coordinates between the
systems. That is it is not known in advance which row converts from
which system into which. The user fills in values for the coordinates
of one system and then copies the required formulas into the other
columns of the same row. So he gets his custom list of coordinates.

Now one can see that I don't have space to put T2 into any cells. Each
Row would need a 2*2 cell block as temporary storage for T2.

Again, this is simplified. Actually I have 3 systems, each has 4
dimensions, and there are about 4 Matrices and 4 Vectors being the
parameters of the transformation.

Greetings

Florian Kaufmann

.



Relevant Pages

  • Re: get min and max from array...
    ... those formulas work fine on my system. ... What I did is copy the data from your first posting and paste it into A1; then I used Data/TextToColumns to move the data into two columns making sure to designate each column as Text; then I cut column B from the sheet and pasted it into column D. At this point, your values were all text residing in columns A and D. I then copy/pasted my two formulas into any two cells and they produced the answers you indicated they should. ... the cells I pasted my formulas in were formatted to General before I pasted them in. ...
    (microsoft.public.excel.programming)
  • Re: Automatically Adding a Worksheet
    ... But the response to the previous pose will stop the blank cells from causing the ... with worksheets("My sheet here" ... Then format your template sheet the way you like (cells that show percents ... each tab has a different number to it. ...
    (microsoft.public.excel.programming)
  • Re: Automatically Adding a Worksheet
    ... actually adding up blank cells or I should say cells that have a formula but ... Anyway there is a reason I have to use a different sheet, ... Then format your template sheet the way you like (cells that show percents ... each tab has a different number to it. ...
    (microsoft.public.excel.programming)
  • RE: Macro for Moving rows
    ... If we were to eliminate the data in "blm10", ... be empty cells. ... from dump-hr did not get moved. ... You need to examine the blm10000 sheet before and after the processing to ...
    (microsoft.public.excel.misc)
  • RE: Dollar/Euro/Pound Excel macro
    ... the sheet to fire its _Changeevent. ... Const targetSheetName = "CurrencySheet" ' CHANGE as required ... respective cells. ... don't think that's going to happen unless you have worksheet or workbook ...
    (microsoft.public.excel.worksheet.functions)