Thread Subject:
matrix creation

Subject: matrix creation

From: prabhakaran m

Date: 11 Jun, 2012 01:58:07

Message: 1 of 2

Hello all,

I have a x , y and z data's size of 10240 cross 1 each. now i want to make it as a single matrix by keeping x in first row and y in first column so that i will get z(x,y) how to do it in matlab.

Subject: matrix creation

From: Nasser M. Abbasi

Date: 11 Jun, 2012 06:44:35

Message: 2 of 2

On 6/10/2012 8:58 PM, prabhakaran m wrote:
> Hello all,
>
> I have a x , y and z data's size of 10240 cross 1 each.
>now i want to make it as a single matrix by keeping x in
>first row and y in first column so that i
>will get z(x,y) how to do it in matlab.


it sounds like you need to use meshgrid(). check help for
examples.

--Nasser

Tags for this Thread

Add a New Tag:

Separated by commas
Ex.: root locus, bode

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.

rssFeed for this Thread

Contact us