T O P I C R E V I E W |
fatihk29 |
Posted - 10/04/2012 : 12:15:53 PM Origin Ver. and Service Release (Select Help-->About Origin): 8.60 Operating System: Win7 64-bit
Hey, i am trying to get ln values for the data i have. I am writing the code as writing below;
ln([Book6]Sheet1!)
and it replies LabTalk Expression: 31684
|
3 L A T E S T R E P L I E S (Newest First) |
greg |
Posted - 10/11/2012 : 10:18:12 AM http://wiki.originlab.com/~originla/ltwiki/index.php?title=Category:LabTalk_Programming |
fatihk29 |
Posted - 10/08/2012 : 05:39:00 AM greg, thank you very much for your helpful answer. how can i learn the scriptin on origin ? |
greg |
Posted - 10/05/2012 : 4:50:52 PM First, the notation you are using is Range notation which cannot be used to directly address anything. Instead you declare that range and then use it in your expression.
Second, the notation you used is for a sheet, not a column, and you cannot do math operations on a sheet, because there are no "basic math for whole worksheet".
Instead you can loop over all the columns:
range ra = [Book6]Sheet1!; loop(ii,1,ra.ncols) { range rac = %(ra$)!wcol(ii); rac = ln(rac); }
|
|
|