1
vote
1answer
36 views

How to plot multinomial beta from Dirichlet Distribution

I would like to plot the multinomial beta from the Dirichlet Distribution wiki page. $$\mathrm{B}(\alpha) = \frac{\prod_{i=1}^K \Gamma(\alpha_i)}{\Gamma\bigl(\sum_{i=1}^K ...
0
votes
1answer
61 views

How to get PI based results in Octave?

In Octave octave.exe:4> asin(1/2) ans = 0.52360 is it possible to get the result in form of: ans = pi/6 It seems not ...
0
votes
1answer
121 views

Using libsvm on Octave (Windows) [closed]

I want to use libsvm on Octave (on a Windows platform). If I understand well from the readme file, and from a dozens of posts of the internet, I don't have to make or compile anything, only copy the ...
2
votes
2answers
325 views

Reconstructing space curves from its curvature and torsion

I have to write a program which gets two functions (curvature and torsion) and 3 vectors of the Frenet-Serret "frame" at the starting point - and I have to reconstruct the space curve from this given ...
1
vote
1answer
502 views

Making sense out of plotting 3D graphs in octave/matplotlib

Recently I have a few times I wanted to plot 3D graphs in some applications (tried matplotlib and octave), noticing similar syntax, but I don't understand what it does so its hard to modify it ...
0
votes
2answers
116 views

Solving $X^{T}Xw = X^{T}y$ for $w$ in Octave / MATLAB

I have a matrix $X$ and a vector $y$, how do I solve the following equation for $w$: $$ X^{T}Xw = X^{T}y $$ in Octave and/or MATLAB?