mbuild not work in Windows7X64 with VS2008+SDK7
Install MATLAB R2010a on Windows 7 X64 with Visual Studio 2008 + Windows SDK 7 I try these command: mex -setup it's work (found VS2008) but cannot compile mexw64. mbuild -setup not work (VS2008 not found) Help me please ... 25 Mar 2010 12:37
Naive Bayes Posterior Probabilities
I wrote the following Program training=[0;1;1;0;1]; class=[0;1;0;0;0]; test=[0;1;1;0]; ls=NaiveBayes.fit(training,class,'Dist','mn'); fprintf('%d\n',posterior(ls,test)); fprintf('%d\n',predict(ls,test)); I expected the posterior probability for the first test point (0) to be 0.667 for class 0 and 0.333 for... 25 Mar 2010 12:37
dynamically scaling transfer function coefficients
We have an element in our system that can be modeled as a damped low-pass filter with a cutoff frequency of x combined with a unity gain high-pass filter with a cutoff frequency of y where y>x. I can set this up very easily in Simulink using a pair of 'Transfer Fcn' control blocks and I get a frequency response th... 25 Mar 2010 12:37
SimMechanics changing parameters
Hi, I'm trying to generate a .dll from a SimMechanics vehicle model. This works, but now I want to use the .dll standalone on a computer without Matlab Simulink/SimMechanics. I want to change the parameters in the .dll, just by changing some values in a .txt file which will be imported by the .dll. I found that i... 25 Mar 2010 12:37
Figure display
Hi, I want to display a figure (x-section; xz-plan) in white and black, instead of colors. How? Thank you for your help. ... 25 Mar 2010 12:37
ripley K function
Dear all, I have data vector that I would like to analyze using Ripley K function. Is there such a thing in Matlab? Thanks Jenya ... 25 Mar 2010 16:12
Is there any command that could directly plot 3d matrix?
Hey all matlab lovers: I have many 3d matrixm like A(:,:,:) 50x50x50 Is there any command that I could use to plot this 3d matrix A? Thanks Yi ... 25 Mar 2010 12:37
Help understanding fread function
I'm a new user to Matlab. I am reading a binary file into an array in Matlab. I need clarification for the fread function regarding the interaction between the 'count' and 'precision' arguments. My understanding is that when if have open the file and specified little-endian, the count arguement increments byte by ... 25 Mar 2010 14:58
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space
I have also run into some troubles with to little allocated memory for the java heap. The default max allocatalbe memory for the java heap in Matlab is 128Mb i think. You can change this by adding a file called java.opts in $MATLABROOT/bin/$ARCH If you want to change the max heap size to, for example 1024mb insert a... 25 Mar 2010 12:36
unexpected sendmail error??
Hey everyone, Back in R2009a, I configured sendmail successfully within Matlab via the Mathworks Tech. Solution 1-3PRRDV ("How do I use SENDMAIL to send email from MATLAB 7.2 (R2006a) via the GMail server?"). I've been successfully sending messages to my gmail account, but this morning I started getting unexpected e... 25 Mar 2010 16:12