Community Profile

photo

may


Active since 2013

Statistics

  • Thankful Level 1

View badges

Content Feed

View by

Question


How can I do grouping in 3-D bar?
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...

8 years ago | 1 answer | 0

1

answer

Question


How can I rotate the Y axis tick labels 3-D bar?
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...

8 years ago | 1 answer | 0

1

answer

Question


A Problem with bar3 Function
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...

8 years ago | 1 answer | 0

1

answer

Question


eliminating some elements randomly from a matrix
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...

8 years ago | 1 answer | 0

1

answer

Question


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

8 years ago | 1 answer | 0

1

answer

Question


Problem in finding PDF of a set of samples
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:...

8 years ago | 1 answer | 0

1

answer

Question


How to fix the error "Matrix dimensions must agree" in my code
I have the following two functions: function [answer]=Sum_of_randomVariable(mean11,sigma11,mean12,sigma12,mean21,sigma21,...

8 years ago | 1 answer | 0

1

answer

Question


How to find a code for the following algorithm
I want to find the distribution of random variable Z. Suppose |X1, X2, ..., Xn| are _n_ mutually independent random variable...

8 years ago | 1 answer | 0

1

answer

Question


How to use an integral inside another integral
I have the following code: function [answer]=find_integral2(z) F=@(y) find_integral(z-y).*find_integral(y); answer= i...

8 years ago | 1 answer | 0

1

answer

Question


How to find PDF, CDF and the probability at a certain point from histogram ?
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...

8 years ago | 1 answer | 0

1

answer

Question


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

8 years ago | 2 answers | 0

2

answers

Question


How can I find the integral of normpdf(X,1,0) from -inf to inf?
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); ...

8 years ago | 2 answers | 0

2

answers

Question


how can I delete empty elements of a cell?
suppose I have a cell c c = [] [1x3 double] [] [] [1x2 double] and I want to delete all the emp...

8 years ago | 2 answers | 0

2

answers

Question


Why the result of (1-0.6667)==0.3333 is zero in MATLAB? how can I get one?
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...

8 years ago | 6 answers | 0

6

answers

Question


How to find unique pages in a 3d matrix?
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...

8 years ago | 2 answers | 0

2

answers

Question


If I have a 3d matrix(A), how can i check if a given 2d matrix(B) is one of matrix A's pages?
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...

8 years ago | 3 answers | 0

3

answers