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
 Subtracting Matrices
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

rezapaz

Germany
Posts

Posted - 06/28/2007 :  07:22:56 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Version (7.5Pro):
Operating System: XP

HI, I am using Origin quite long now, although I have never used the Script option. I have the following problem: I have two Matrices and want to creat a third one which is created by substracting the two others. How can I do this? With the option SetMatrixValues it did not work....

Thanks in advance

Reza

Mike Buess

USA
3037 Posts

Posted - 06/28/2007 :  07:45:24 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Origin matrices can be treated simply as datasets so this will subtract Matrix2 from Matrix1...

win -a Matrix1; // restore Matrix1
win -d; // duplicate
doc -e M {%M=%H}; // find name of duplicate
win -a %M; // restore %M;
%M -= Matrix2;

Mike Buess
Origin WebRing Member
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