Koguma |
Posted - 07/12/2006 : 2:56:45 PM Origin Version : Origin 7.0 Operating System: Windows XP Professional Service Pack 2
Hi! I am a Brazilian student and a iniciant im Origin . I need to subtract 2 worksheets, as the same way that "Subtract Reference Data" do. for example:
Worksheet 1
-10,328 -4,06987 -8,4 -4,07602 -6,471 -3,9386 -4,543 -2,36346 -2,614 3,68485 -0,686 14,46679 1,243 22,8573 3,171 21,63493 5,1 13,3203 7,028 5,31742 8,957 0,52841 10,885 -2,03736 12,813 -3,35818 14,742 -3,93245 16,67 -4,08012 18,599 -4,06576 20,527 -4,05756 22,456 -4,08012 24,384 -4,10473 26,313 -4,10678
worksheet 2
808,391 0,24363 1807,52595 -0,00219
There is some method in the Origin C to do this? I try to do this:
Dataset d1(wks1.Columns(0)); Dataset d2(wks3.Columns(0)); d2=d1; Dataset d3(wks2.Columns(1)); Dataset d4(wks1.Columns(1)); Dataset d5(wks3.Columns(1)); d5=d4-d3;
Subtract wk1 to wks2 and place the result in wks3, but doesnt work! The number of rows may be the problem? Please help me i dont think in any solution! Please forgive my English too! Thanks!
|