First  |  Prev |  Next  |  Last
Pages: 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157
ksdensity to estimate truncated data?
I have a set of data that is truncated below some value.I want to be able to fit a PDF to the data so that it can estimate the density of the truncated portion. I know that the tail of the function must end at (0,0). Is this possible with ksdensity? Maybe with a parametric function? To illustrate this better, please re... 10 Aug 2010 04:45
fopen funniness
All - I've noticed that if I open a file for reading using fopen in matlab, the file is locked from other process, which is a good thing.. however, it is still possible to fopen the file from within matlab with 'w', effectively deleting the file. Is there a way to protect a file from being overwritten while it s... 27 Jul 2010 18:22
save() calls saveobj method twice?
Hi, I have made a class that inherits from handle that I want to be able to save to a mat file. It has other custom classes in it so i need to overide the saveobj method. I've done this and about half the time on one computer and all the time on a different computer the class saves and loads flawlessly using save(file... 27 Jul 2010 17:16
Multiple Tabs with dlmwrite
Hello Again, So I'm using the following command: dlmwrite(FullPath,finalData,'delimiter','\t'); and my data comes out tab delimited, however, some of the data is negative, and some isn't, the extra character '-' throws the tabs off, and the data doesn't have the appearance of being lined up in the file (even tho... 27 Jul 2010 17:16
smallest singular value of large, tall, sparse matrix
I have a large, tall, sparse M-by-N matrix A, where for instance M=100000 and N=80000. I want to determine whether or not rank(A) = N. As far as I can see, the problem is equivalent to determining whether or not the N'th singular value of A is nonzero. Commands rank and svd fail since A is sparse, and svds tries to do ... 3 Aug 2010 15:51
NI USB-6501
I Am Using NI-USB6501. I am trying to get an output pulse of 100Hz and 5V form USB-6501. The maximum I am getting is 10Hz. I changed the output of a pin in a continuous for loop from 0 to 5v (without any delays) and the maximum freq I get is 10Hz. I tried precise timming by using the timer function and I tog... 27 Jul 2010 17:16
counting multiple values in matrix
Hi guys, i'd like ur help. If I have a matrix A as follows: A = [ 0 2 2; 2 2 2; 0 0 4; 4 0 0] I would like to output that there are actually 5 two's and 2 four's. So , for example in a vector, the result would be: vector = [ 5 2 ] thanks rav... 27 Jul 2010 17:16
Creating a Logical Mask for a Specific Volume
I am attempting to create a logical mask for a volume whose surface models a closed segment of an artery (shaped like an L). Near this volume are many data points, and I would like to know exactly which points are inside the volume and which ones are outside. I have an .stl file that gives me the geometry of the mo... 2 Aug 2010 16:57
error while executing datenum
Hi all, I don't know if it is too basic problem or not. but it is really annoying. I am trying to execute following command: datenum('02 01 2008','dd mm yyyy') But unfortunately, I get following error message: datenum('02 01 2008','dd mm yyyy') ??? Error using ==> datenum at 182 ... 27 Jul 2010 18:22
subplot problem
I am trying to plot a 3 x 1 subplot, with the same date range along the x axis, and I am having a couple of problems: - I can't get the x tick labels to show dates in the form MMDD. I have tried datetick(), but does not seem to work for some reason - I do not even want ticks or labels on the top two graphs. I t... 27 Jul 2010 17:16
First  |  Prev |  Next  |  Last
Pages: 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157