Feeds
提问
Using strings as variable names in a for loop
What I would like to do is: K2006=20; k2007=30; years={'2006','2007'} for i = 1:2 mystr=strcat('K',years{i}...
9 years 前 | 2 个回答 | 0
2
个回答提问
How do I add a string to a cell?
I have a 1x4 cell array containing strings, that I got using [num,txt]=xlsread(...). Now I would like to add another string, so...
9 years 前 | 2 个回答 | 0
2
个回答提问
Saving variables to file with desired precision
Suppose I want to save the value of a variable, say sqrt(2), to a file, keeping a given number of digits, for example 30 digits,...
10 years 前 | 1 个回答 | 0