# Amr Hashem

### faculty of engineering

2015년부터 활동

Followers: 0   Following: 0

배지 보기

#### Feeds

보기 기준

질문

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...

대략 7년 전 | 답변 수: 1 | 1

### 1

답변

답변 있음
How could I fit a mixture of gaussians to 1D data?

대략 7년 전 | 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...

대략 7년 전 | 2

| 수락됨

답변 있음
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...

대략 7년 전 | 0

| 수락됨

질문

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...

대략 7년 전 | 답변 수: 1 | 0

### 1

답변

답변 있음
How 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...

대략 7년 전 | 1

질문

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...

대략 7년 전 | 답변 수: 3 | 1

### 3

답변

답변 있음
Gaussian Mixture pdf plot
what I could use instead of "makedist" if i didn't have the toolbox?

7년 초과 전 | 0

질문

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...

7년 초과 전 | 답변 수: 0 | 0

### 0

답변

질문

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%...

대략 8년 전 | 답변 수: 2 | 0

### 2

답변

질문

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...

8년 초과 전 | 답변 수: 2 | 0

### 2

답변

질문

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...

8년 초과 전 | 답변 수: 1 | 0

### 1

답변

질문

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...

8년 초과 전 | 답변 수: 1 | 0

### 1

답변

질문

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...

8년 초과 전 | 답변 수: 1 | 0

### 1

답변

답변 있음
how to merge two plots
if you want to add to plots in one figure: hold on if else please illustrate your question definetly

8년 초과 전 | 0

답변 있음
Is it possible to plot/generate properly displayed thick arrows?
axis tight

8년 초과 전 | 0

질문

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...

8년 초과 전 | 답변 수: 2 | 0

### 2

답변

답변 있음
how to prolong the fit distribution curve to reach x-axis ?
I got it... xgrid = linspace(-20,20,100);

8년 초과 전 | 0

질문

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 ...

8년 초과 전 | 답변 수: 2 | 0

### 2

답변

답변 있음
using 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...

8년 초과 전 | 0

질문

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...

8년 초과 전 | 답변 수: 0 | 1

### 0

답변

질문

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...

8년 초과 전 | 답변 수: 2 | 0

### 2

답변

답변 있음
Data 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...

8년 초과 전 | 0

질문

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 ...

8년 초과 전 | 답변 수: 1 | 0

### 1

답변

답변 있음
How to extend the fitting curve in command
try: hold on before the extended plotting

8년 초과 전 | 0

질문

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...

8년 초과 전 | 답변 수: 1 | 1

### 1

답변

질문

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...

8년 초과 전 | 답변 수: 1 | 0

### 1

답변

답변 있음
how 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...

8년 초과 전 | 0

질문

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 ...

8년 초과 전 | 답변 수: 3 | 0

답변