how can i fix this using fprintf?

okay so i have 4 columns that are like this:
175.768 108.274
190.500 71.623
157.226 62.052
160.528 75.887
35.047 obese
19.736 normal
25.102 overweight
29.449 overweight
how do i place them together( next to each other) so i can i have 4 columns?

1 Kommentar

Geoff Hayes
Geoff Hayes am 7 Apr. 2015
Dena - how is the above data stored? Do you have four individual arrays or a cell array or something else? Please provide some details so that we can offer some guidance. Depending upon your version of MATLAB, you may be able to use the table function.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Produkte

Tags

Gefragt:

am 6 Apr. 2015

Kommentiert:

am 7 Apr. 2015

Community Treasure Hunt

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

Start Hunting!

Translated by