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:
create new matrix out of row and column data

Subject: create new matrix out of row and column data

From: Alex

Date: 24 Feb, 2011 06:55:19

Message: 1 of 2

I have a script that finds certain values or targets ( all numbers equal to 270) within a 3 dimensional matrix and yields its row, column and page coordinates.

I want to create a "master frame" that takes the target's data from all 3 dimensions and creates a 2 dimensional matrix showing their row and column locations, with zeros as place holders. Like having a glass rectangular prism with particles suspended throughout, and looking through one side so it appears as if the particles only exist in a 2-D plane.

I have it to where it plots a 2D .fig graph, but I really need it to be a matrix.

Thanks,
Alex

Subject: create new matrix out of row and column data

From: Alex

Date: 1 Mar, 2011 08:38:06

Message: 2 of 2

"Alex " <blue.harvest.83@gmail.com> wrote in message <ik4vcn$gc$1@fred.mathworks.com>...
> I have a script that finds certain values or targets ( all numbers equal to 270) within a 3 dimensional matrix and yields its row, column and page coordinates.
>
> I want to create a "master frame" that takes the target's data from all 3 dimensions and creates a 2 dimensional matrix showing their row and column locations, with zeros as place holders. Like having a glass rectangular prism with particles suspended throughout, and looking through one side so it appears as if the particles only exist in a 2-D plane.
>
> I have it to where it plots a 2D .fig graph, but I really need it to be a matrix.
>
> Thanks,
> Alex

nevermind, I re wrote my script another way and didnt need to convert any .fig to matrices.

thanks,
Alex

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