|
From: | Leloup |
Subject: | Re: How to create automatically the variable name |
Date: | Wed, 27 Jun 2018 10:52:37 -0700 (MST) |
Bonjour Tom Dean, >> for K = 1:3,eval(strcat('A',num2str(K),'=',num2str(rand))),endfor A1 = 0.52979 A2 = 0.68847 A3 = 0.63740 That works! Thank you for your help Tom -- Sent from: http://octave.1599824.n4.nabble.com/Octave-General-f1599825.html
[Prev in Thread] | Current Thread | [Next in Thread] |