MATLAB: How to put data from a function into columns using frprintf

fprintf

I want to put the data from each function under the correct column with respect to the vector x. I've tried to transpose it but it still gives me the same answer in rows.

Best Answer

fprintf('...',[x(:),yf(:),ym(:),yw(:)].')
Related Question