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

"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 2018년 2월 27일
편집: Stephen23 2018년 2월 27일
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 ?

댓글을 달려면 로그인하십시오.

 채택된 답변

Stephen23
Stephen23 2018년 2월 27일
편집: Stephen23 2018년 2월 27일
fprintf('...',[x(:),yf(:),ym(:),yw(:)].')

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Logical에 대해 자세히 알아보기

태그

질문:

2018년 2월 27일

댓글:

2018년 2월 27일

Community Treasure Hunt

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

Start Hunting!

Translated by