Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: data extraction from matrix to use in another matrix
Replies: 26   Last Post: Oct 22, 2013 4:57 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
dpb

Posts: 8,110
Registered: 6/7/07
Re: data extraction from matrix to use in another matrix
Posted: Oct 20, 2013 10:42 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

> I'm very sorry to say that it did not work because it arranged the matrices.

It did precisely what your sample gave said to do...

> I need to go to matrix (connect) element 1, read node(a) and see
> that is a 4, because is the node 4, then I need to go the the matrix

(coordinates), look for the node 4, and extract from node 4 the
coordinate (x) and place it on an array nodeax.

Well, that makes no sense from the supposed output below where there's a
0 0 given for element 1 -- there's no 0 0 in the coord array for a node 4.

So, I don't think you've got what you want down precisely yet...

...

> Elem (a) (b)
> 1 4 2
> 2 2 3

...

> Node X Y
> 1 0 0
> 2 2 0
> 3 4 0
> 4 6 0

...
>
> The final matrix should look like this
> Elem Nodea Nodeb Nodeax
> 1 4 2 0 0
> 2 2 3 2 0

...

Try again, that doesn't seem to work to me.

Where, again, do you think the '0 0' come from for the first entry, now?

--





Date Subject Author
10/19/13
Read data extraction from matrix to use in another matrix
walter Mulvany
10/19/13
Read Re: data extraction from matrix to use in another matrix
dpb
10/19/13
Read Re: data extraction from matrix to use in another matrix
walter Mulvany
10/19/13
Read Re: data extraction from matrix to use in another matrix
dpb
10/19/13
Read Re: data extraction from matrix to use in another matrix
walter Mulvany
10/20/13
Read Re: data extraction from matrix to use in another matrix
dpb
10/20/13
Read Re: data extraction from matrix to use in another matrix
walter Mulvany
10/20/13
Read Re: data extraction from matrix to use in another matrix
dpb
10/20/13
Read Re: data extraction from matrix to use in another matrix
walter Mulvany
10/21/13
Read Re: data extraction from matrix to use in another matrix
walter Mulvany
10/21/13
Read Re: data extraction from matrix to use in another matrix
dpb
10/21/13
Read Re: data extraction from matrix to use in another matrix
dpb
10/21/13
Read Re: data extraction from matrix to use in another matrix
walter Mulvany
10/21/13
Read Re: data extraction from matrix to use in another matrix
dpb
10/21/13
Read Re: data extraction from matrix to use in another matrix
walter Mulvany
10/22/13
Read Re: data extraction from matrix to use in another matrix
walter Mulvany
10/22/13
Read Re: data extraction from matrix to use in another matrix
dpb
10/22/13
Read Re: data extraction from matrix to use in another matrix
walter Mulvany
10/22/13
Read Re: data extraction from matrix to use in another matrix
walter Mulvany
10/22/13
Read Re: data extraction from matrix to use in another matrix
dpb
10/22/13
Read Re: data extraction from matrix to use in another matrix
walter Mulvany
10/22/13
Read Re: data extraction from matrix to use in another matrix
dpb
10/22/13
Read Re: data extraction from matrix to use in another matrix
dpb
10/22/13
Read Re: data extraction from matrix to use in another matrix
walter Mulvany
10/22/13
Read Re: data extraction from matrix to use in another matrix
dpb
10/22/13
Read Re: data extraction from matrix to use in another matrix
dpb
10/20/13
Read Re: data extraction from matrix to use in another matrix
dpb

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.