How to assign ascii type characters to a signal using a foor loop
Afficher commentaires plus anciens
Hello there! i will be thankful if you help me with this. I'm trying to assign labels to a signal. for example if i have a sine function and we segment it by 10 point along the X axis, i don't know how to assign in ascii format "number one" to the point number 1, "number two" to the point number 2 and so on. maybe with a for loop but i don't know how.
Thanks.
3 commentaires
Jan
le 23 Mai 2018
What does "assign in ascii format" mean? Do you want to show labels in a plot?
Marcos Rios
le 24 Mai 2018
Réponses (1)
Robert U
le 24 Mai 2018
0 votes
Hi Marcos Rios,
as I understand you would like to change the x tick positions and labels. There is a fine example documented on how to do that:
More options/properties that help you to manipulate axes you can find under "axes properties":
Kind regards,
Robert
Catégories
En savoir plus sur Matrices and Arrays dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
