Filtering , and plotting Multi-Dimensional Arrays
- From: Joe Cocker <cocker.joseph@xxxxxxxxx>
- Date: Thu, 31 Jan 2008 10:23:07 EST
Hello everyone, this is my first post here, so please be patient.
I'm pretty new to MatLab, and so far it has been pretty smooth, however there's one issue that I cannot seem to work through.
I have a multi-dimensional array, consisting of data taken from 10 2-d arrays from the same source. Each 2-d array includes values which increase past the theoretical limit for the test, for example;
A =
1 1 2 3 4
1 1 1 2 3
1 1 1 1 2
1 1 1 1 1
1 1 1 1 1
If the test fails at any value greater that 2, I would like to filter the array, so that when I plot it, I get a single contour for where the data reaches its theoretical limit.
Such as filtering to get;
B =
0 0 2 0 0
0 0 0 2 0
0 0 0 0 2
0 0 0 0 0
0 0 0 0 0
Of course the limit is in a different location for every page of the array, so if I had a 6x7x10 array, I would filter the whole thing, plot it and end up with one contour plot, with 10 contour lines.
Thank you very much for any help.
Joe
.
- Follow-Ups:
- Re: Filtering , and plotting Multi-Dimensional Arrays
- From: us
- Re: Filtering , and plotting Multi-Dimensional Arrays
- From: Walter Roberson
- Re: Filtering , and plotting Multi-Dimensional Arrays
- Prev by Date: Re: copyfile function - .txt to .xls - xlsread
- Next by Date: Matlab
- Previous by thread: Advanced scheduler for distributed computing in Matlab
- Next by thread: Re: Filtering , and plotting Multi-Dimensional Arrays
- Index(es):