- How to implement tensor product for arbitrary order tensors in octave . . .
Yes, I took a look at the Kronecker product, but that product is different from what I have to use (see definition given above) The Kronecker product returns a matrix, not a multidimensional array The tensor product I defined above is the only at least I am used to in physics and the one I need to implement efficiently –
- Octave: Calling a function in its function file - Stack Overflow
%The code has been implemented in Octave 3 4 switch fv(k) case 0 fv(k) = 1; case 1 fv(k) = 0; end %The above statement changes the values of fv(k) depending %on its initial value The possible values are 0 or 1 totalflea(n + 1) = sum(fv); endfor %The following lines are there to depict two standard deviations away %from the mean value of 25
- Octave function definition error - Stack Overflow
Otherwise, the best place to look for info would probably be the octave wiki-- this includes links to tutorials on the front page etc Also, since Octave explicitly aims to, and is mostly, matlab compatible, any decent matlab tutorial should apply to octave too –
|