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
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum
 Origin Forum
 RMS on data from one columng
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

simonkos

Czech Republic
1 Posts

Posted - 09/27/2019 :  08:37:42 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Ver. and Service Release: Origin pro-2016
Operating System: Win 10

Hello,

I need some help with coding in Origin.

Namely, I have measured set of data in two columns, and I need to set a procedure which will automatically extract a certain number of data, calculate RMS and put them in the new cell.

For example, on the attached picture

I want to select all the cells from column C that correspond to the cells in column B with the value between 0 and 1 (1 and 2, so on), do the RMS and write the value in the new column.

All the help is appreciated!

YimingChen

1691 Posts

Posted - 09/27/2019 :  09:54:44 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi,

Use the formula below:
rms(col(B)[index(i-1,col(A),2):index(i,col(A),2)])




James
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000