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

KSSV
KSSV 2018년 4월 27일
Okay.....what have you attempted?
filename='14 - sampleMap.xlsx';
[num,txt,raw] = xlsread(filename);
x = cell2mat(raw(1:10, 1))
y = cell2mat(raw(1:10, 2));
plot(x,y);
KSSV
KSSV 2018년 4월 27일
what is filename? Where is file ?
khushboo chhikara
khushboo chhikara 2018년 4월 27일
Walter Roberson
Walter Roberson 2018년 4월 30일
Please do not close questions that have an answer

댓글을 달려면 로그인하십시오.

 채택된 답변

KSSV
KSSV 2018년 4월 27일

0 개 추천

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

KSSV
KSSV 2018년 4월 27일
That's the plot of the data present in the excel file.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

태그

질문:

2018년 4월 27일

댓글:

2018년 4월 30일

Community Treasure Hunt

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

Start Hunting!

Translated by