Problem 649. Return the first and last characters of a character array
Solution Stats
Problem Comments
-
4 Comments
Show
1 older comment
Rik
on 19 Jan 2021
There is a difference between string and char array since R2016b. Before that they could be used interchangeably, but now that is no longer true (although I believe some doc pages are still not careful about this).
goc3
on 20 Jan 2021
The title and description have been updated, along with a few new test cases.
Bryce Lewis
on 5 May 2021
Wow this actually is such a great question
ML
on 28 Jan 2023
good problem
Solution Comments
Show commentsProblem Recent Solvers8097
Suggested Problems
-
Remove any row in which a NaN appears
8212 Solvers
-
Increment a number, given its digits
630 Solvers
-
912 Solvers
-
Getting the indices from a matrix
607 Solvers
-
Relative ratio of "1" in binary number
1066 Solvers
More from this Author56
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!