Community Profile

Top 5% contributor

I have a 3d matrix A, let say A is a 2x2x3 matrix as follows [1 2 ;3 4] [5 6;3 4] [5 6;1 2] now I want to know if a 2x2 mat...

3 Answers

0

Asked 2 years ago

I want to call an R package (poibin) in Matlab In R to use this package I write and it returns [1] 0.1512 0.5226 0.8500 0.977...

1022 views

Posted 2 years ago

Why the result of (1-0.6667)==0.3333 is zero in MATLAB? how can I get one? when I use matlab to calculate 1-0.6667 I get 0.33...

6 Answers

If I have 3d matrix like A = cat(3, [1 2; 3 4], [5 6; 3 4], [5 6; 1 2],[1 2; 3 4]) I want to find...

2 Answers

I have the following code: function [answer]=find_integral2(z) F=@(y) find_integral(z-y).*find_integral(y); answer= i...

1 Answers

Suppose that I have an array of random numbers, e.g. X=randn(1,1000); hist(X,100); Using the histogram ,I want to fin...

Given mean1, mean2, sigma1,sigma2, and u, I want to find the following integral: _for example: mean1=0, mean2=0, sigma1=0.2, ...

How can I find the integral of normpdf(x,1,0) from -inf to inf? The followings did not work: F = @(x)normpdf(x, 0, 1); ...

suppose I have a cell c c = [] [1x3 double] [] [] [1x2 double] and I want to delete all the emp...

I have this data Z = rand(9,5); <</matlabcentral/answers/uploaded_files/808/ax.jpg>> I can group my data on the Y axis usi...

I have a 3D figure, like: bar3(rand(20,5)) and I want to rotate the Y axis *tick labels* in the figures. How can I do t...

I used |bar3| function to generate the following figure, but I do not know how to set Y label correctly in my code. In each grid...

Suppose that I have a Matrix A and I want to eliminate _k_ elements randomly from each column |(1<=k<size(A,1))| so the rema...

I want to use parfor in my code, the problem is that when I wrote matlabpool open 4 I get this error: |Starting mat...

I want to get PDF of a set of samples, A, from its histogram: [n,x] =hist(A,Number_bins); when I use the following code:...

I have the following two functions: function [answer]=Sum_of_randomVariable(mean11,sigma11,mean12,sigma12,mean21,sigma21,...

I want to find the distribution of random variable Z. Suppose |X1, X2, ..., Xn| are _n_ mutually independent random variable...