Recent content by muaaman
-
M
Matlab Issue with aligning text in table format in .txt file
Homework Statement uData is a 30x5 matrix with numbers. name_Database is a 30x1 cell array with strings of Names (e.g. Fake Subject 1, Fake Subject 2, Bob). What would fix the code so that the data aligns? (please see image for the misalignment). Homework EquationsThe Attempt at a Solution...- muaaman
- Thread
- Array Cell File Format Matlab Matrix Table Text
- Replies: 1
- Forum: Engineering and Comp Sci Homework Help
-
M
Matlab - Index exceeds matrix dimensions when writing .txt
Homework Statement Index exceeds matrix dimensions Homework EquationsThe Attempt at a Solution I am trying to output into a text file something like this: Name ID scE ccE scC ccC Fake Subject 1 1 3 4 5 2 Fake...- muaaman
- Thread
- Dimensions Index Matlab Matrix Writing
- Replies: 1
- Forum: Engineering and Comp Sci Homework Help
-
M
MATLAB [Matlab] How to use inputdlg string variable in text file?
Thank you very much DrClaude.- muaaman
- Post #3
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
M
MATLAB [Matlab] How to use inputdlg string variable in text file?
I am trying to display the input that I enter into the dialog box from "inputdlg" function into a text file. This is what I've so far: prompt={['What is your name?']}; title = 'Name Machine'; answer = inputdlg(prompt, title); name = answer{1}; fileID = fopen('NameMachineFive.txt', 'w')...- muaaman
- Thread
- File Matlab String Text Variable
- Replies: 2
- Forum: MATLAB, Maple, Mathematica, LaTeX