...
Plot σx vs. ri (Take 3: File Input/Output)
Read in [A] from a file
HTML |
---|
Wiki Markup |
{html}<iframe width="600" height="338" src="//www.youtube.com/embed/YbyfEIkgYHA?rel=0" frameborder="0" allowfullscreen></iframe>{html} |
Read in [B] from the same file
Note that the following video contains a part where the text file is read into Excel. This is only for illustration purposes (to check the range that we need to feed into the dlmread function). The data is still read from the .txt file, so you can skip following the Excel steps and just watch these steps being done in the video.
HTML |
---|
Wiki Markup |
{html}<iframe width="600" height="338" src="//www.youtube.com/embed/hdbyuLxkTCg?rel=0" frameborder="0" allowfullscreen></iframe>{html} |
Output Values Using dlmwrite
...