-
-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ep03: generating file names for csv files and figures with sprintf #108
Comments
Can you provide a quick preview of what the code would look like with |
The file name generation bit would look like this, and the rest of the script would be unchanged.
I'd need to check that |
I think that looks fantastic, but remember that I'm completely in favour of introducing Cell Arrays before this section though. |
Cool! |
- Use the existing exercise as the lesson example - Explain structure arrays - Discuss portability of code Fix swcarpentry#108.
- Use the existing exercise as the lesson example - Explain structure arrays - Discuss portability of code Fix swcarpentry#108.
- Use the existing exercise as the lesson example - Explain structure arrays - Discuss portability of code Fix #108.
What is the learning objective for this section? It seems rather clunky and hard to motivate.
A neater solution is suggested in the following exercise, but no solution is given, and subsequent episodes use the
sprintf
script.In order to achieve the same task, I suggest using the
dir
command to generate a list of files to load, then use thereplace
command twice to generate the image file names.I'm happy to submit a PR, but also want to check that it won't remove a learning objective. All I can think of is that
sprintf
won't have been covered.The text was updated successfully, but these errors were encountered: