how to plot a signal from text file data using matlab gui push button?

1 visualización (últimos 30 días)
i have a text file including data as like as below.how can i plot this data in matlab gui using a push button?
-0.08
-0.075
-0.045
-0.025
0
0.025
0.06
0.09
0.125
0.165
0.21
0.23
0.245
0.275
0.27
0.255
0.235
0.21
0.145
0.11
0.065
0.02
0
-0.005
-0.03
-0.045
-0.035
-0.025
-0.015
-0.03
-0.02
-0.025
-0.025
-0.03
-0.04
-0.045
-0.05
-0.055
-0.06
-0.06
-0.06
-0.09
-0.095
-0.075
-0.09
-0.09
-0.09
-0.09
-0.085
-0.095
-0.11
-0.095
-0.115
-0.105
-0.105
-0.1
-0.095
-0.095
-0.04
0.01
0.01
0.065
0.17
0.11
0.02
-0.03
-0.05
-0.15
-0.215
-0.21
-0.21
-0.205
-0.26
0.015
0.75
1.475
1.04
-0.26
-0.77
-0.535
-0.26
-0.175
-0.175
-0.15
-0.145
-0.14
-0.135
-0.11
-0.09
-0.065
-0.045
-0.03
0
0.015
0.05
0.09
0.12
0.165
0.2
0.22
0.25
0.27
0.265
0.27
0.255
0.225
0.18
0.13
0.075
0.045
0.02
0
0
-0.005
-0.02
0
0
0
-0.005
0
-0.015
-0.01
-0.01
-0.03
-0.035
-0.045
-0.045
-0.045
-0.055
-0.065
-0.07
-0.085
-0.075
-0.08
-0.08
-0.085
-0.095
-0.08
-0.085
-0.09
-0.11
-0.07
-0.09
-0.095
-0.1
-0.095
-0.105
-0.07
-0.09
-0.085
-0.065
-0.03
0.05
0.025
0.105
0.175
0.11
0.025
-0.04
-0.035
-0.16
-0.175
-0.185
-0.17
-0.195
-0.23
0.13
0.995
1.62
0.47
-0.485
-0.715
-0.495
-0.21
-0.175
-0.15
-0.145
-0.125
-0.125
-0.115
-0.11
-0.08
-0.07
-0.025
-0.03
0.015
0.015
0.065
0.09
0.13
0.175
0.205
0.225
0.25
0.26
0.27
0.275
0.25
0.215
0.16
0.105
0.08
0.035
0.005
0
-0.01
-0.005
-0.01
-0.01
-0.015
-0.005
0.005
-0.005
-0.005
0
-0.015
-0.03
-0.025
-0.04
-0.025
-0.06
-0.05
-0.06
-0.05
-0.065
-0.07
-0.08
-0.075
-0.095
-0.075
-0.08
-0.075
-0.1
-0.075
-0.085
-0.085
-0.115
-0.08
-0.09
-0.11
-0.05
0
0.01
0.04
0.135
0.14
0.075
-0.005
-0.03
-0.075
-0.175
-0.185
-0.215
-0.18
-0.235
-0.135
0.325
1.18
1.595
0.05
-0.73
-0.705
-0.45
-0.185
-0.21
-0.155
-0.145

Respuestas (1)

Cris LaPierre
Cris LaPierre el 9 de Abr. de 2019
Try this answer. It's a similar request with a simple answer.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by