Community Profile

leo nidas


252 total contributions since 2007

Contact

leo nidas's Badges

Contributions in
View by

Posted


volume of irregular 3D shape convexhull delaunayTriangulation
Hi all, I want to calculate a volume of an irregular 3D shape. A small description is that this shape lies within the unit cube...

1 month ago | 234 views

Posted


vectorize double for loops
I built the following code that works fine in terms of the output that I want. However it is too slow due to the nested for loop...

1 month ago | 293 views

Posted


vectorize calculation of empirical probability (replace "for" loops)
Hi all, I have column X and column Y say with nx and ny numbers respectively (random continuous values of some distribution). ...

1 month ago | 221 views

Posted


bandwidth selection for ksdensity cross validation
Hi all, I am trying to do a cross-validation to derive an "optimal" bandwidth for estimating a cdf. I want that bandwidth to co...

2 months ago | 338 views

Posted


rotate 3d surface with transparency reproducible example
Hi all, I need to rotate a 3d surface plot. Below i provide a reproducible example that is working and generates an avi file in...

4 months ago | 497 views

Responded


Re: histogram overlap grayscale
Sorry, I have access to R2012b.. Any other alternative?

2 years ago | 1910 views

Posted


histogram overlap grayscale
Hi there, Is there a nice way to depict three histograms of overallaping data with grayscale in a single graph? I am really no...

2 years ago | 1910 views

Posted


constrained maximization likelihood general question
Hi there Suppose I have some data, vector x of n values, and the final goal is to obtain a density estimate. I want to maximiz...

2 years ago | 735 views

Posted


lilietest very short question
Isn't that suppose to yiels about 95% of times a value of h equal to 1? I am repeatedly running this and I am constantly getting...

2 years ago | 1520 views

Posted


mlecov bivariate normal asymptotc variance covariance
Hi there, Can anyone post me an example of how can I obtain the asymptotic variance covariance matrix of the mles of a bivaria...

2 years ago | 936 views

Posted


ksdensity cdf default bandwidth
Hi there, Could you please tell me what is exactly the bandwidth that the ksdensity uses when the function is set to "cdf"? As...

2 years ago | 918 views

Responded


Re: function handle does not work on ksdensity?
Thank you for your answer, The problem remains (I have the statistics toolbox) and the ksdensity works fine when not passing in...

2 years ago | 1379 views

Posted


function handle does not work on ksdensity?
Hi there, Why the following does not work? data=normrnd(0,1,100,1); fk =@(y) ksdensity(data,y) fk(2)

2 years ago | 1379 views

Posted


meshgrid 4 dimensions short question
Hi there, Is there any way to get the meshgrid to work for 4 dimensions? I.e. while this works: gridx=linspace(minx,maxx,num_p...

2 years ago | 961 views

Posted


kernel density ksdensity
Hi there, I am trying to get the grasp of kernel estimation. Simple things for start such as normal kernel, fixed and closed fo...

2 years ago | 1241 views

Responded


Re: multi(bi)variate normal general question
I think I should not do that because estimating mu1 and sigma1 separately means that information carried within the second varia...

2 years ago | 852 views

Posted


volume trapz trivariate
Hi there, Given a grid of points on the x axis, let gridx, and a grid of points on the y axis, let gridy, and the values of som...

2 years ago | 776 views

Posted


multi(bi)variate normal general question
Hi there, In order to fit a bivariate (or a multivariate normal) do your two (or more) columns of data HAVE to be of the same l...

2 years ago | 852 views

Posted


grey scale surface color short question
Hi there, I have a surface plot surf(x,y,z) shading interp alpha(0.8) which is a bit transparent and colored. I would like to...

2 years ago | 1228 views

Responded


Re: ksdensity, obtain kernel estimate at given x values
Never mind, should have read the documentation more carefully!

3 years ago | 1011 views

Posted


ksdensity, obtain kernel estimate at given x values
Hi there, Regarding ksdenity, how can I obtain the kernel estimate of a density at a given x vlaue? For example x=normrnd(0,1,...

3 years ago | 1011 views

Posted


remove plot ticks but keep the scale short question
Hi there, I want to remove the ticks from the x and y axis of a simple plot. I tried to use set(gca,'xtick',[]) but this remove...

3 years ago | 3187 views

Posted


animate rotate 3d figure within MATLAB or with beamer
Hi there, I don't know if this is solely a MATLAB question but I'll ask! I have a 3d figure. I save it in eps and include it m...

4 years ago | 3183 views

Posted


errorbars, whiskers length, simple question
Hi there, I want to plot some error bars. The code is at the end of this message and runs just fine. I am plotting five errorba...

4 years ago | 1227 views

Posted


kernel, ksdensity, force zero mean
Hi there, I would like to estimate a kernel density based on a sample. However, I want to force the expectation of the obtained...

4 years ago | 1245 views

Posted


volume, convex hull, 3d curve, trisurf
Hi there, I have a closed curve in 3d and its projection on the xy plane. It is like an ellipse. I want to calculate the volume...

4 years ago | 1674 views

Posted


partial volume under surface
Hi there, I have a surface and want to (numerically) calculate the volume under the surface, but not under the whole surface. J...

4 years ago | 783 views

Posted


fmincon, mycon, need more input arguments
Hi there, It is a bit unclear to me if the mycon function of the fmincon can take more than one input arguments. In every examp...

4 years ago | 2706 views

Posted


short question maximize integral restriction (fmincon?)
Hi there, I have a general question. If it is too general I will return with more details.. I want to minimize a function with...

4 years ago | 2618 views

Posted


simple question, replace diagonal of a matrix, array manipulation, diag
Hi there, Suppose I have an n by n matrix and three vectors: a0: of n elements a1: of n-1 elements a2: of n-1 elements and I ...

4 years ago | 2205 views

Load more