The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
 All Forums
 Origin Forum
 Origin Forum
 Filling data into a matrix

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
nina_hs Posted - 02/15/2017 : 07:03:16 AM
Hello,

I am having trouble getting my data into the correct shape for a matrix.

The data I want to show has been recorded over a flat surface like this:
x1..x2..x3..x4
x5..x6..x7..x8
x9...

But I receive a column with the values looking like this from the measurement program:
x1
x2
x3
x4
x5
...

Is there a possibility to change the format and insert the data into a matrix for 3D-representation?

Best regards
Nina


Origin Ver. and Service Release (Select Help-->About Origin): OriginPro 2016 (64 bit)
Operating System: Windows 7
2   L A T E S T    R E P L I E S    (Newest First)
nina_hs Posted - 02/15/2017 : 09:59:39 AM
Hi Hideo,

this is exactly what I was hoping for, thanks a lot!!

For a 4*4 matrix it would have been possible to convert the columns manually, but my sets are a bit bigger, so this automated conversion works great!

Thanks again and kind regards
Nina
Hideo Fujii Posted - 02/15/2017 : 09:35:03 AM
Hi Nina,

Please try the following: (Suppose your data are originally stored in a worksheet column.)

1) Highlight the data column, and choose "Worksheet: Split Columns" menu.
2) In the tool, set the Subgroup Method to "By Every Nth Row", and enter 4 to N field. Click OK.
This produces a worksheet with 4 columns as arranged like:
x1 x2 x3 x4
x5 x6 x7 x8
x9...
3) Choose "Worksheet: Convert to Matrix: Direct" menu, and click OK.
This creates a matrix sheet with the above data.

This works as you wanted?

--Hideo Fujii
OriginLab

The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000