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 for Programming
 LabTalk Forum
 double loops

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
bonfamin Posted - 11/16/2020 : 05:32:22 AM
Hello,

I'd like to run a double loop on a 100*100 matrix and I wrote these lines but I can't find where is the mistake...

a=3,1896;
b=3,5338;

for (i=0; i<1, i=i+0,01)
{
for (j=0; j<100, j=j+1)
{wcol(j+4)=-(0,44798)*((((i)*b+(1-(i))*a)-wcol(2))*wcol(3)+wcol(3)
}
}


Thank you :)
2   L A T E S T    R E P L I E S    (Newest First)
Szone1 Posted - 11/20/2020 : 09:44:28 AM
please review your for loop, syntax error.
Actually also some other syntax errors... like missing end semicolon, etc.
cpyang Posted - 11/16/2020 : 06:32:03 AM
What are you trying to do?

CP

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