scipad-dev Mailing List for Scipad
A powerful editor and graphical debugger for code written in Scilab
Brought to you by:
ensegre,
fvogelnew1
You can subscribe to this list here.
2012 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
|
Dec
|
---|
From: Paul A. <jp...@es...> - 2012-10-18 13:31:54
|
Hi, Bug description: when i run a program in scipad without eco the variables don´t appear in scilab command, but when run with eco the variables appear in scilab command Error log: How to reproduce the bug:run this without eco and in the scilab console put xk (for obtain the value of xk) that gives an error " !--error 4 Variable indefinida: xk". The same error occurs when put the others variables, for example: -->T " !--error 4 Variable indefinida: T" clear s=poly(0,'s'); //definir polinomio en s g=syslin('c',(10/(s+2))); // este es la funcion de transferencia de la planta sistema SISO realimentacion unitaria T=0.1; gc=(dscr(tf2ss(g),T)); //discretizar gz=ss2tf(gc); u=rand(1,1000,"normal"); //senal randomica de exitacion y = flts(u, gc);// filtro kk=1000; w=[0;0]; xk=[0;0]; mu=0.1; mselms=0; for k=1:kk e(k)=y(k)-w'*xk; w=w+mu*e(k)*xk; mselms(k)=e(k)^2; xk=[-y(k);u(k)] end Other information: Scilab installed in spanish second bug, [reply] [-]Comment 1Paul Ayala 2012-09-27 21:23:48 CEST Please fix the problem with the edition of the graphics in OSX. x=1:1:100; -->y=sin(x); -->plot(x,y) ADVERTENCIA: La interfaz Tcl/Tk no está instalada This error occurs when in the graphic window i try to go to the figure properties Thanks for Scilab..... Paul Ayala jp...@es... |