Hi, i'm a student and i've just started to use matlab,so i'm inexperienced. I'm developing a function that takes a sting for input with spaces between every single character and using strread and some strcmp i want to recognize every single character. The problem is with special characters:
strcmp('+',buff);
it works fine with all math operators +-*/ (buff contains character i want to ceck and recognize) , but it doesn't with brachets ,=,<, so with other special characters. I found that in strings managing i have to use '' in order to express ' for example, or double percent %% in order to express %, but i didn't find anything about other characters.
Sorry for my inexperience and my bad english!