comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Matrix rank
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Matrix rank [message #57589 is a reply to message #57548] Mon, 17 December 2007 02:53 Go to previous messageGo to previous message
Wox is currently offline  Wox
Messages: 184
Registered: August 2006
Senior Member
Thanks for your help guys. However I'm struggling with the problem I
wanted to use this rank for. Maybe someone can help.

Suppose you have two subspaces of 3D space (e.g. [z,y+0.5,0] and
[z,0,0] ). Now I just want to check whether one is a subspace of the
other.

My first idea was that if you could find a solution for
R1(3x3).X(3x1)+T1(3x1) = R2.X+T2
that one is a subspace of the other. However, [0.5,0,z] is not a
subspace of [y,z,0] while it gives X=[0,0.5,0] as a solution.

The second (brute-force) idea is this:
h=histogram( (total(abs(R1),1,/pres) eq 0)+$
(total(abs(R2),1,/pres) eq 0),min=0,max=2,binsize=1,rev=rev)

; h=0 => both fixed: check whether they are the same
...
; h=2 => both variable: check whether they are the same
...
; h=1 => one is variable: find solution
...

Is there a more elegant solution to this?

Thanks.
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: Get pixel info from an geotiff ROI (lat long)
Next Topic: Re: Creating machine-specific, licensed IDL software

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 15:24:45 PDT 2025

Total time taken to generate the page: 0.24048 seconds