Re: [Scilab-users] eigs calculation

2015-06-22 Thread tim
That's not at all atypical, and it's what you expect from a numerical process to arrive at an eigenvector matrix. In the context of ones on the main diagonal, 1e-16 is mostly zero. On 2015-06-22 03:08, Carrico, Paul wrote: Dear Tim, Thanks for the enlightenment, but unfortunately I confess

Re: [Scilab-users] how to respond the shrinkage of hyper-matrix

2015-06-22 Thread Pierre-Aimé Agnel
Hi, I don't think there is a problem (on my 5.5.2 version) : function hm_display(m,n,l) a = rand(m, n, l); for i = 1:m for j = 1:n for k = 1:l mprintf(value of index [%d, %d, %d] = %f \n, i, j, k, a(i, j, k)) end

[Scilab-users] Redefined function does not remain redefined in macro

2015-06-22 Thread DominicErnst
Dear all, I stumbled across a strange behavior I don't understand correctly. Please also refer to the simplified code extract below. Apparently beta(x,y) refers to a built in SciLab function (beta function (Euler integral of the first kind)). If I redefine the function by a simple vector

Re: [Scilab-users] eigs calculation

2015-06-22 Thread Carrico, Paul
Dear Tim, Thanks for the enlightenment, but unfortunately I confess I don't know how to proceed now; I feel that I need to fix such issue; another example if needed (see screenshot in attachment), the product herebellow should lead to the Identity matrix Verif1 = u' * M * u (vhere u is the

Re: [Scilab-users] Redefined function does not remain redefined in macro

2015-06-22 Thread Samuel Gougeon
Hello Dominic, Le 22/06/2015 11:31, DominicErnst a écrit : .../... Now, if I try to write-access a particular value in this now initialized vector I get the Warning Warning: obsolete use of '=' instead of '=='.. It looks like a bug. After the beta=zeros(1:10)'; overwriting assignment,

Re: [Scilab-users] Redefined function does not remain redefined in macro

2015-06-22 Thread DominicErnst
Hi Samuel Thanks for your reply. That's what I thought, but as a beginner I'm always careful saying 'This is a bug', as I am not always sure I got everything right. Using Beta instead of beta is a good idea. Thanks a lot. Best, Dominic - -- Dominic Ernst CNC-PLC Software Developer @

[Scilab-users] how to respond the shrinkage of hyper-matrix

2015-06-22 Thread fujimoto2005
Let x=zeros(m,n,l) if m==1, x is generated as 2 dimension matrix, not 3 dim hyper-matrix. In that case the specification of elemnt like x(i,j,k) fails. But the value of m is unknown in advance. Is there any code which I can deal with such a case in general way? I don't like such as if m==1 then …