Questions tagged [matlab]

MATLAB is a high-level language and interactive programming environment for numerical computation and visualization developed by MathWorks. Don’t use both the [matlab] and [octave] tags, unless the question is explicitly about the similarities or differences between the two. When using this tag, please mention the MATLAB release you're working with (e.g. R2017a).

156 questions
2
votes
0 answers

hmmtrain in Matlab converging to different values of trans and est over different runs

As the title indicates, over multiple runs of my program, I get different values of trans and est. Are these local minimum? If so how do I get the optimal one? NOTE - They all have the same starting value of trans and est. Thanks! Edit: I realized…
Anshul G.
  • 535
  • 2
  • 10
1
vote
2 answers

why nobody uses matlab

I wonder why most people now don't use matlab. I guess the reason is matlab is not free, so companies don't want to use it, then interviewees don't use it, then schools don't encourage it, then nobody ends up using it. But I like it, compared to…
feynman
  • 237
  • 1
  • 8
1
vote
0 answers

Applying deconv for a large dataset

For my program on BCH decoding I had to polynomially divide the corrected BCH code with the generator matrix for the final decoded input. I did the same as follows: for j=1:num_blocks, op4(:,j)=mod(deconv(op3(:,j)',gen),2)'; end where op3…
Anshul G.
  • 535
  • 2
  • 10
0
votes
1 answer

How to use fminunc in Matlab on only some specified parameters of a function

So I want to use fminunc(fun, X0) in Matlab on my function fun. The problem is that fun is a function of three parameters:(X, y, X0), all of which are vectors. What I want to do is to find the minimum, given the parameters X, y. I.e. the vector X0…
Bruno KM
  • 165
  • 3
-1
votes
1 answer

accumarray function not working in matlab

I have an 2D array like the one shown below. 35046, 0.17 1963, 0.34 1135, 0.51 405, 0.68 99, 0.85 1, 0.85 15, 1.02 2, 1.02 I tried using accumarray function in matlab on this data to get the results like this…