tool-box for control design specific for CPGE ?

Francois WEISS fweiss at ac-toulouse.fr
Mon Nov 7 09:46:21 CET 2011


Hello,
I heard about a specific tool-box for control design with Scilab-xcos developped for "classes preparatoires aux grandes ecoles".
Could someone tell me more about that ?
Thanks.
Francois WEISS
  ----- Original Message ----- 
  From: Adrien Vogt-Schilb 
  To: users at lists.scilab.org 
  Sent: Monday, November 07, 2011 9:15 AM
  Subject: Re: [scilab-Users] Using a cell entry to access part of a matrix


  Hi

  why don't you just 

y(ii(1)) ?
  On 07/11/2011 02:43, Iai Masafumi ax wrote: 
Hi,

Could anyone tell me if, in the codes below, there is any way to make
"y(II(1))" work without error, just like "y(ii)"? I wanted to access a
part of a matrix by using an entry of a cell. I think it is a pretty
intuitive way of using a cell.

//--------------------------
y=[100:110]
ii=[1 3 5 7];
jj=[2 4 6 8];
y(ii)   // OK. This is an ordinary way.

II=cell(2,1);
II.entries(1)=ii;
II.entries(2)=jj;

II(1)
y(II(1)) // <-- ERROR

y(II.entries(1)) // OK. But not as concise as I see the benefit of using
cells.
//--------------------------



Thanks,
Iai



  -- 
  Adrien Vogt-Schilb (Cired) 
  Tel: (+33) 1 43 94 73 77
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20111107/19eefe1f/attachment.htm>


More information about the users mailing list