Community Profile

Contact

Top 1% contributor

I have a vector of observations Y. I do not know the state sequence of the latents. I wish to find the the transistion and emiss...

3 Answers

1

Asked 2 years ago

Awful that matlab does not support this any better yet.... nBars = 3; mydata=rand(1,nBars); bar_h=bar(mydata); bar_child=get(...

4792 views

Posted 2 years ago

just spoke to matlab about this. When calling matlab from the command line and going straight into a function, matlab will s...

accepted

Answered 3 years ago

A better way to evaluate is: [f, gridx1, gridx2] = ksdensity2d(DATA); griddedInterpolant = griddedInterpolant(gridx1, gridx2, f...

4697 views

Responded 2 years ago

function kde_test gridx1 = 0:.05:1; gridx2 = 5:.1:10; x1 = [0.00 + 0.50*rand(20,1) ; 0.75 + 0.25*rand(10,1)]; x2 = [5 + 2.5*...

I have a cell array whose elements are time stamps in the format "Mon Apr 01 20:00:00 BST 2013". I have a very large number of t...

0

Asked 8 months ago

I know this was not supported in 2004 -- is it still not? any work around? x = 0: 1E-3: 4*pi; y1= cos(x); y2 = -si...

2 Answers

Asked 1 year ago

Perl is included with the MATLABÂ® software on MicrosoftÂ® WindowsÂ® systems, and thus MATLAB users can run user-created MATLAB fun...

I often get this: Warning: Unable to interpret LaTeX string For example, plot(rand(10,1)); AX=legend('$\text{A,B}$');...

x = zeros(1000,1); x(76) = 1; x(100) = 1; x(200) = 1; I can do: first = find(x ==1, 1, 'first'); %the answer...

I am running win7 and MATLAB 2010B. The MATLAB licence is held on our lab licence server. When I start MATLAB normally it run...

Asked 3 years ago

I wish to restart my machine from MATLAB at 3am say and then call a bat file to run MATLAB from windows task scheduler. When ...

I am running win7. Not a "pure" mathlab question, but I hope someone can help. I have a third party application running on my...

I have an image and I do not wish to use legend. Instead I wish to make my own legend. I wish to have a text box in the image...

Asked 9 months ago

I have been trying to use <http://www.mathworks.co.uk/matlabcentral/fileexchange/30923-fast-stl-import-function import_stl_fast>...

1 Answers

I have a 2D matrix of data. I have an index to reduce that 2D matrix to a 1D matrix. How can I do it without using a for loo...

I have 2013A on a win7 64 bit quod core machine. I do not have the parallel computing toolbox. I use a parfor loop to carry o...

I combine some text files into one big file: system('copy 1.txt+2.txt+3.txt MyBigFat.txt') This works fine, however it w...

I have a large and complex function. I set "dbstop if error" at the start of the function. If the function fails for some reaso...

I am using win7 on 2011B with Microsft Office 2007. We use a third party email service and I have a email address: me@mycompa...

MATLAB is doing something I have never seen before. Can anyone explain to me the following behaviour: I have some code: ...

A and B are equal length vectors of my data. The max value in A is 100 and the max value in B is 20,000 and n = 2,500. I wish to...

I have written a very tricky and large bit of code. Its processing a data set of 5 million values. In outline the code goes like...

5 Answers

I often use greek/ latin variables in my titles/ axis, with no problem. For example; figure; title('\bf My Output, \Thet...

hello. I type: T = 1000; time = 1: T; x1 = rand(T,1); x2= rand(T,1); myTime = {... '08:00' '08:10' ...

For w = randn(10, 51300); w = w./ sum(w,1); i get ??? Error using ==> rdivide Matrix dimensions must agree....

I have a variable x. I make a variable y. I now need to regenerate my variable xNew from y. Its very close but not exact. Why...

Hello. having some problems getting to grips with fprintf.m. please can you help? If I run: function myFunc b=1...

I had 2012A working fine on my machine. I just installed 2013A. I have code which automatically launches matlab from task ...

4 Answers

I use the below function to call system, %http://uk.mathworks.com/matlabcentral/newsreader/view_thread/327867 function st_wrap...

2336 views

Responded 7 months ago

Load more