photo

John


Aktiv seit 2014

Followers: 0   Following: 0

Nachricht

Statistik

  • Thankful Level 1

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


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}...

mehr als 9 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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...

mehr als 9 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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,...

fast 11 Jahre vor | 1 Antwort | 0

1

Antwort