How to combine 3 dataset in MATLAB

3 views (last 30 days)
I have a problem to combine my data, let say for example:
data = xlsread ('disease'); x1 = data (1:10,1); x2 = data (1:10,2); x3 = data (1:10,3);
After I made those data separately (size: 10x1 and class: double), I want to recombine again x1,x2,x3 become one dataset (10x3). any idea to do this in matlab?
many thanks!

Accepted Answer

Azzi Abdelmalek
Azzi Abdelmalek on 24 Oct 2014
out=[x1 x2 x3]

More Answers (0)

Categories

Find more on Get Started with MATLAB in Help Center and File Exchange

Tags

No tags entered yet.

Community Treasure Hunt

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

Start Hunting!