How can I access char elements from the beginning up to some fixed index of the char?
3 views (last 30 days)
More Answers (2)
Vikram Ojha on 7 Dec 2022
Edited: Vikram Ojha on 7 Dec 2022
In genral a(1:n) % n for index
You can consider going through following doc: https://in.mathworks.com/help/matlab/ref/string.html, it will be helpful
In case you want you can take Matlab fundamental certification: https://matlabacademy.mathworks.com/details/matlab-fundamentals/mlbe