How to plot a program file's inputs and outputs on MATLAB

0

I wrote a code on the Eclipse IDE in C that calculates the inputs and outputs of a Fourier Sine Series. I ran the code in the Cygwin Terminal and got the outputs I expected.

I then wanted to make a file that would store my I/O's so I wrote:

/cgydrive/c/users/.../debug/file.exe > squarewaves

0

to do so.

Now I want to import that data onto MATLAB and plot the square waves but I'm not sure how to go about doing that since I am completely new to the software. Can anyone help me please?

Jarel M.

Posted 2019-09-12T22:57:32.733

Reputation: 1

how exactly is this data created? what type of file do you have? did you only stored the numbers as input/output or do you have more information sotred in it? – Thales – 2019-09-13T17:25:20.027

No answers