Borrar filtros
Borrar filtros

PLEASE WANT DRAW A LINE GRAPH OF THE DATA BELOW WITH ATTENUATION ON Y AXIS AND YEAR ON THE X AXIS

2 visualizaciones (últimos 30 días)
S/N ATTENUATION(dB) MONTH
1 12 JANUARY,2011
2 17 FEBRUARY,2011
3 18 MARCH,2011
4 14 APRIL,2011
5 11 MAY,2011
6 08 JUNE,2011
7 18 JULY,2011
PLEASE WANT TO PLOT THE LINE GRAPH OF THE ABOVE DATA

Respuesta aceptada

Star Strider
Star Strider el 20 de Sept. de 2016
THIS WORKS:
ColTitles = {'S/N' 'ATTENUATION(dB)' 'MONTH'};
DataCell = {1 12 'JANUARY,2011'
2 17 'FEBRUARY,2011'
3 18 'MARCH,2011'
4 14 'APRIL,2011'
5 11 'MAY,2011'
6 08 'JUNE,2011'
7 18 'JULY,2011'};
Mos = datetime(DataCell(:,3), 'InputFormat', 'MMMM,yyyy');
AttdB = cell2mat(DataCell(:,2));
figure(1)
plot(Mos, AttdB, ':bp')
grid
xlabel(ColTitles{3})
ylabel(ColTitles{2})

Más respuestas (0)

Categorías

Más información sobre Graph and Network Algorithms en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by