# Amr Hashem

### faculty of engineering

Followers: 0 Following: 0

**Statistics**

RANK**3 726**

of 291 612

REPUTATION**14**

CONTRIBUTIONS

**58** Questions

**19** Answers

ANSWER ACCEPTANCE **
65.52%
**

VOTES RECEIVED**11**

RANK

of 19 806

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

RANK

of 146 400

CONTRIBUTIONS

**0** Problems

**0** Solutions

SCORE**0**

NUMBER OF BADGES**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Feeds**

Question

Separate Gaussian mixture distributions of 5 components.

I used this code (to fit data by gaussian mixture): binWidth = 1; %width of the bar equal 1 binCtrs = 0:binWidth:1...

ungefär 7 år ago | 1 answer | 1

### 1

answerHow could I fit a mixture of gaussians to 1D data?

Another authorized answer https://www.mathworks.com/help/stats/examples/fitting-custom-univariate-distributions.html

ungefär 7 år ago | 0

How could I fit a mixture of gaussians to 1D data?

Finally, I got it :) clear all clc close all tic %% Read the raw data [ndata text alldata] = xlsread('battery2.xlsx','l...

ungefär 7 år ago | 2

| accepted

How to plot a Gaussian of mixture to a data?

I got it numComponents=4; paramEsts= gmdistribution.fit(Life,numComponents) MU=[paramEsts.mu(1);paramEsts.mu(2);paramEst...

ungefär 7 år ago | 0

| accepted

Question

How to plot a Gaussian of mixture to a data?

I want to construct and 1D plot a uni-variate Gaussian Mixture with say four components where I already have its parameters incl...

ungefär 7 år ago | 1 answer | 0

### 1

answerHow could I fit a mixture of gaussians to 1D data?

I find a code which help to determine the number of components: %using minimum value of AIC AIC = zeros(1,7); obj = cell(1...

ungefär 7 år ago | 1

Question

How could I fit a mixture of gaussians to 1D data?

I have a data and i want to fit it by a mixture of gaussian, but I didn't know the existing number of gaussians. I use this c...

mer än 7 år ago | 3 answers | 1

### 3

answersGaussian Mixture pdf plot

what I could use instead of "makedist" if i didn't have the toolbox?

mer än 7 år ago | 0

Question

How to fit a data with mixture of gaussian distribution?

I have a failure data, and i am trying to find the best probability distribution to fit this data. I try many PDF like gener...

mer än 7 år ago | 0 answers | 0

### 0

answersQuestion

plot an exponential curve to connect between two points

I want to draw a curve in a negative exponential shape like this green one: <</matlabcentral/answers/uploaded_files/48665/li%...

ungefär 8 år ago | 2 answers | 0

### 2

answersQuestion

How to match two data columns?

I have 2 excel sheets (each contain two columns( *Serial* & *ID*) 1st sheet(3708*2) 2nd sheet(2360*2)) <</matlabce...

mer än 8 år ago | 2 answers | 0

### 2

answersQuestion

How to calculate the Anderson Darling Test ?

I want to test the goodness of fit of the model , so I use A-D test I am using matlab 2012a I got the function from an exc...

mer än 8 år ago | 1 answer | 0

### 1

answerQuestion

how to draw a line bewteen two points using the exponential distribution?

I have this figure <</matlabcentral/answers/uploaded_files/39925/bathtub.jpg>> and I want to *draw a line* between the he...

mer än 8 år ago | 1 answer | 0

### 1

answerQuestion

what is the function which calculate the area under curve like ''normspec '' ?

I am using a different probability distribution to fit a data but the tail didn't() reach zero (at x-axis) I want to deter...

mer än 8 år ago | 1 answer | 0

### 1

answerhow to merge two plots

if you want to add to plots in one figure: hold on if else please illustrate your question definetly

mer än 8 år ago | 0

Is it possible to plot/generate properly displayed thick arrows?

axis tight

mer än 8 år ago | 0

Question

how to sum a group of gaussian distribution using "hist" ?

I want to add five gaussian distributions at different points on x-axis I try: n=500; H1 = normrnd(14,5,n,1); % genera...

mer än 8 år ago | 2 answers | 0

### 2

answershow to prolong the fit distribution curve to reach x-axis ?

I got it... xgrid = linspace(-20,20,100);

mer än 8 år ago | 0

Question

how to prolong the fit distribution curve to reach x-axis ?

I got the best fit distribution to a failure rate (data) Now I want to prolong the fitted distribution curve to reach x-axis ...

mer än 8 år ago | 2 answers | 0

### 2

answersusing gampdf and gamfit

firstly you have to use: Y= gamfit(Data) % use Data not Y then use : G= gampdf(X,A,B) plot(X,G) the parameter...

mer än 8 år ago | 0

I have plotted different graphs and obtained curve fit using Gaussian distribution in curve fitting app. I need to bring all the fit curves together into one graph. How do i do it?

evaluate then new fit

mer än 8 år ago | 0

Question

find the best fit distribution that fits the data

how could I find the best probability distribution that fits a failure rate data? I try: val=[0;1;2;3;4;5;6;7;8;9;10;11;1...

mer än 8 år ago | 0 answers | 1

### 0

answersQuestion

how to plot a histogram with distribution fitting?

I want to plot a *histogram with distribution fit*. I use this code: z=[1,2,3,4,5]; l = [ 502 3341; 724 3502; 1310 3379...

mer än 8 år ago | 2 answers | 0

### 2

answersData fitting with correlation coefficient

If you want to find " The best *curve* fitting", you can use cftool which is a graphical user interface. or you can us...

mer än 8 år ago | 0

Question

how to generate a traingular distrbution (sawtooth model) ?

I want to generate a random (n=100)sawtooth model with width (b=24) 1st (t=0)start at 0, 2nd at 1 .... nth at n=100 t is ...

mer än 8 år ago | 1 answer | 0

### 1

answerHow to extend the fitting curve in command

try: hold on before the extended plotting

mer än 8 år ago | 0

Question

how to plot exponential pdf over a distributed data ?

in order to find the best fit model I want to produce this figure (a data & best fit over it): <</matlabcentral/answers/u...

mer än 8 år ago | 1 answer | 1

### 1

answerQuestion

how to prolong best fit line to reach to x-axis ?

I draw a best fit line <</matlabcentral/answers/uploaded_files/38745/1234.jpg>> but I want to prolong it to x-axis, how t...

mer än 8 år ago | 1 answer | 0

### 1

answerhow to search for multiple words anywhere in the sentence ?

that's work: D=alldata(:,126:130); idx = cellfun('isclass',D,'char'); idx(idx)=~cellfun('isempty',regexpi(D(idx),'ba...

mer än 8 år ago | 0

Question

how to search for multiple words anywhere in the sentence ?

I want to search for three words "Battery , power , failure" the three must exist in the sentence in any order to copy the cell ...

mer än 8 år ago | 3 answers | 0