Recent content by muaaman

  1. 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...
  2. 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...
  3. 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')...
Back
Top