How can I put data from a function into columns using frprintf

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.

4 Kommentare

"I've tried to transpose it but it still gives me the same answer in rows."
Was this what you tried?:
fprintf('...', x.', yf.', ym.', yw.')
Just tried it but did not work
Stephen23
Stephen23 am 27 Feb. 2018
Bearbeitet: Stephen23 am 27 Feb. 2018
It won't work, I was just curious about what you had tried.
it might have to do with how im associating the data with the columns ?

Melden Sie sich an, um zu kommentieren.

 Akzeptierte Antwort

Stephen23
Stephen23 am 27 Feb. 2018
Bearbeitet: Stephen23 am 27 Feb. 2018
fprintf('...',[x(:),yf(:),ym(:),yw(:)].')

Weitere Antworten (0)

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by