Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
Hi,
I would like to plot a function, say y(x), that depends on x and another independent variable, say a vector ab that has the same size as x. The equation looks like this:
y(x): x +ab;
I have made a simple plot in the attached worksheet. Anybody can lend a helping hand?
Bests,
Newin
Hi Mike, thanks for your fast reply. I also just noticed that the last two empty lines in the text files are giving zeros! Thanks for pointing this out.
What does augment do to the vector? Did you remove the last two empty lines manually or does 'augment' do the magic?
Newin
No problem at all.
I manually changed the 'Stop' data range to 502 rows. The automatic selection was selecting the zeros for some reason.
The 'augment(A,B,C,...' function returning an array by placing A, B, C, ... left to right in a matrix.