Vous suivez désormais cette question
- Les mises à jour seront visibles dans votre flux de contenu suivi.
- Selon vos préférences en matière de communication il est possible que vous receviez des e-mails.
Lognormal Fitting with the Pore Size and its Probabilities
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1585766/image.jpeg)
18 commentaires
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1586661/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1587681/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1618398/image.png)
Réponse acceptée
27 commentaires
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1585886/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1586066/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1586071/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1586076/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1587041/image.jpeg)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1587046/image.jpeg)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1587271/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1587276/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1587351/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1594311/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1594316/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1594321/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1594326/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1594331/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1594366/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1594371/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1594406/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1594566/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1594571/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1594576/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1594581/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1594586/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1594966/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1594971/image.png)
Plus de réponses (2)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1585831/image.png)
- Syntax and Typographical Errors: Ensure that all variable names and operations are correct. The expression VarOfY = ExpOfYsqr - ExpOfY1^; in your original code seems to contain errors. It's corrected here.
- Visualizing Data: I've used a scatter plot for the original data and a line plot for the fitted distribution. Adjust the scaling factor (max(Counts)) as needed to better compare the two.
- Data Range: The range of x in the line x = linspace(min(PoreSize), max(PoreSize), 1000); is set from the minimum to the maximum of your pore sizes. Adjust this as necessary.
- Distribution Parameters: The 'mu' and 'sigma' for a lognormal distribution are derived from the logarithm of your data. Ensure these are calculated correctly.
- Fitting and Model Choice: If the fit is still poor, consider alternative fitting methods or distributions. The fit quality can vary significantly based on the characteristics of your data.
- Technical Services and Consulting
- Embedded Systems | Firmware Developement | Simulations
- Electrical and Electronics Engineering
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1587656/image.png)
Voir également
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Une erreur s'est produite
Impossible de terminer l’action en raison de modifications de la page. Rechargez la page pour voir sa mise à jour.
Sélectionner un site web
Choisissez un site web pour accéder au contenu traduit dans votre langue (lorsqu'il est disponible) et voir les événements et les offres locales. D’après votre position, nous vous recommandons de sélectionner la région suivante : .
Vous pouvez également sélectionner un site web dans la liste suivante :
Comment optimiser les performances du site
Pour optimiser les performances du site, sélectionnez la région Chine (en chinois ou en anglais). Les sites de MathWorks pour les autres pays ne sont pas optimisés pour les visites provenant de votre région.
Amériques
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)
Asie-Pacifique
- Australia (English)
- India (English)
- New Zealand (English)
- 中国
- 日本Japanese (日本語)
- 한국Korean (한국어)