![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/6149498_1522112210469_DEF.jpg)
Brayden Gregson
2015년부터 활동
Followers: 0 Following: 0
Feeds
질문
How do I get the element of a cell in a case_expression that matches the switch_expression?
a = {'the', 'cat', 'is', 'the', 'dog'}; b = 'cat'; switch b case a end %How would I know which element in a match...
거의 9년 전 | 답변 수: 2 | 0
2
답변질문
Is there any way to print strings to the command window in different colours using fprintf?
I've read about cprintf and using fprintf to print to stderr, but I'm a little confused by these methods. What is the simplest a...
거의 9년 전 | 답변 수: 1 | 0
1
답변질문
How can I get a variable name from a cell?
How can I get a variable name from a cell? For example, I have: alpha_1 = 1; galaxyMap = {alpha_1}; How do I get the ...
거의 9년 전 | 답변 수: 2 | 0