I would like to know where the mistake is. Browse other questions tagged plot scilab or ask your own question. If zeros in Scilab does bot behave just like zeros in Matlab I can't help. at line 22 of function linspace called by : at line 2 of function test_linspace called by : at line 7 of function have a peek here
So sometimes when the application really ask for it, the kernel is trapped. When running the following code that has one typing error 'lambda(t-t_z)' instead of 'lambda*(t-t_z)': lambda = -0.9; function exch=e(t,t_z) exch = exp(lambda(t-t_z)); endfunction e(4.999,3) we get unexpectedly: -->e(4.999,3) ans = 0.4065697 Both files were translated form MATLAB to SCILAB and i use loadmatfile command to load all the variables. In MATLAB, zeros(500) would take 500 to be the size of the matrix required, assuming a square matrix. http://stackoverflow.com/questions/20555899/scilab-index-error-21
Why do I get the 'Invalid index' error? I paste the code in an online editor and it comes up with a page, How do you make it a website? 5 answers Terms Privacy AdChoices RSS CompHelp - Menu Hello, I have a problem when i want to run "SPDsolver.sci" In Scilab Console there appears after executing: … !-error 21 Invalid index Bookmark the permalink. Not the answer you're looking for?
Il faut définir une fonction externe : Code: clear all clc deff('[f] = f(x)', 'f = (1/((x-0.3)^2+0.01))-20') x1=0; x2=1; i=0; erreur=1; nmax=100; while (i<=nmax)&(erreur>1e-3) 29/11/2009 - 11h07 jojofreerider Date d'inscription Does the number of spells at a Wizard's disposal affect game balance? Why are terminal consoles still used? Don't download normaliz.dll, fix the problem the right way.
So sometimes when the application really ask for it, the kernel is trapped. I'm not sure that this is related (because usually some processes are killed in this case) but I have experienced this with an application that was allocating a lot of memory Generally I adopt behavioral debugging: when something works for a few data and not with many, stacksize is the key (if someone knows how to make a nice rime... ;) Mathieu how to remove the functions displayed by set command?
Join them; it only takes a minute: Sign up Invalid index error in Scilab when trying to access array element up vote 1 down vote favorite I'm not sure why I You can only upload files of type 3GP, 3GPP, MP4, MOV, AVI, MPG, MPEG, or RM. The callback of the first button calls rb_selected() which then calls test_linspace() and the following error is generated: button 1 !--error 21 Invalid index. Regards, Peng On 14 November 2010 22:45, Mathieu Dubois <[hidden email]> wrote: Hello Lucas, Peng Du reported the same problem as you.
Please upload a file larger than 100x100 pixels We are experiencing some problems, please try again. https://help.scilab.org/doc/5.3.3/en_US/error_table.html at line 69 of exec file called by : como soluciono esto? more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed You can only upload photos smaller than 5 MB.
But for e(5.000,3), or other values t > 5, we get as expected an error message: -->e(5.000,3) !--error 21 Invalid index. navigate here What is C-10304 code 205? share|improve this answer answered May 19 '14 at 17:39 santiago muñoz 1 Please provide answer in english –Lal May 19 '14 at 18:02 Note that's a question, SEO by vBSEO ©2011, Crawlability, Inc.
Browse other questions tagged matlab scilab or ask your own question. Ask a question usually answered in minutes! Why would Snape set his office password to 'Dumbledore'? Check This Out Want to buy a domain name?
Je sait pas dutout se que c'est, ni a quoi sa sert, donc bon je pourrai pas t'aider, ducoup j'vai attendre la réponse avec toi. 29/11/2009 - 12h06 phryte Date Seulement pour cet exo ci, on me demande de le traiter avec la commande @. Don't download core.dll, fix the problem the right way.
If you want to create a zeros matrix that has precisely as many rows and columns as another matrix (say A), you need to say zeros(A). Login: Enregistrer? Post navigation ← Samsung Hdd Error Codes Silkroad Online Error C8 → Search Striker WordPress Theme Powered By WordPress CompHelp - Menu Skip to content Home Scilab Error 21 Posted on this contact form You can only upload a photo or a video.
Any ideas what should be corrected? Did you (both) try to use stacksize(1000000); // Or event bigger on top of your script? But for e(5.000,3), or other values t > 5, we get as expected an error message: -->e(5.000,3) !--error 21 Invalid index. matlab scilab share|improve this question asked Nov 6 '10 at 10:14 Pieter 8,51849125195 add a comment| 3 Answers 3 active oldest votes up vote 1 down vote accepted If zeros in
Are you safe from viruses? Join them; it only takes a minute: Sign up Scilab index error 21 up vote 0 down vote favorite I have a function: a = [-3.14:0.1:3.14]'; function wyn=z(a) z(a)=L.*sin(a)+ 2*L(cos(a)-cos(a0))*cos(a).*(sin(a)+(sqrt(sin(a).^2+ (H/L)-cos(a)\(cos(a)-cos(a0))))) Sharpdesk Error H5-01 Scribblenauts Unlimited Crash Dump Fix Patch Resident Evil Revelation Pc Fatal Error How To Fix D3dx9_30.dll is Missing or Not Found Errors - PC Support â€“ Some common Mathieu Le 14/11/2010 23:11, Lucas Benitez Demmler a Ã©crit : Hello, My name is Lucas , I'm from Argentina , and I'm a frecuently user of Scilab.
This is pure speculation. at line 22 of function linspace called by : at line 2 of function test_linspace called by : at line 7 of function rb_selected called by : allbackobject(225);rb_selected(1);if exists("%oldgcbo") then gcbo