Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
Manipulating an array with multiple data sets

Subject: Manipulating an array with multiple data sets

From: Ender

Date: 15 May, 2013 15:47:07

Message: 1 of 1

I haven't used MATLAB in over a year, and I am not sure what to ask the help menu in MATLAB to give me the answer I am looking for. Here is my problem

I have manipulated smaller data sets until I have 2 data sets. I am trying to combine these 2 data sets into a third array similar to a chart:

A = 1,2,3,4,5
         6,7,8,9,10
         11, 12, 13, 14, 15

B = Z
      Y
      X
      W
      V


I am trying to combine them into a chart that looks like this.
C = 1, 2, 3, 4, 5
         Z 6, 7, 8, 9, 10
         Y 11,12, 13, 14, 15
         X
         W
         V

I would preferably like to make what is currently bold (1,2,3,4,5 & Z,Y,X,W,V) to stay bold. If I can only do this in Excel that’s fine. However, I do not know how to write this code in MATLAB to import this into Excel that way. Reason being is I tried using the .NET array commands, however the bold column Z, X, Y, etc… only shows multiple copies of the Z value in Excel after I use the “NET.convertArray” command in MATLAB with my matrix values.

I tried to make this as clear as possible. Is this the path that I need to take to make my chart, or am I over complicated this problem?

--Ender--

Tags for this Thread

No tags are associated with this thread.

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us