Effacer les filtres
Effacer les filtres

how to make gaussian plot??

2 vues (au cours des 30 derniers jours)
khushboo chhikara
khushboo chhikara le 27 Avr 2018
Commenté : Walter Roberson le 30 Avr 2018
Th excel file given is the data of different intensities of particles when hit on a surface(fluorescence intensity file sample) . Consider the row and column as the x and y coordinates. Through a MATLAB program, first, make or set a Gaussian plot/distribution t various areas in the data file and get maximum values of the intensities and the output of the MATLAB function should be the value of maximum intensities with x and y coordinate of that intensities. Note this program should run in any input excel file. The data of excel file can change. Therefore the MATLAB code and the Gaussian function we create should work on any data points.
  5 commentaires
khushboo chhikara
khushboo chhikara le 27 Avr 2018
Walter Roberson
Walter Roberson le 30 Avr 2018
Please do not close questions that have an answer

Connectez-vous pour commenter.

Réponse acceptée

KSSV
KSSV le 27 Avr 2018
filename='14 - sampleMap.xls';
[num,txt,raw] = xlsread(filename);
[nx,ny] = size(num) ;
[X,Y] = meshgrid(1:nx,1:ny) ;
pcolor(X,Y,num) ;
shading interp
  1 commentaire
KSSV
KSSV le 27 Avr 2018
That's the plot of the data present in the excel file.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Data Import from MATLAB dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by