| MATLAB Central > MATLAB Newsreader > reshape |
|
|
|
Hi, |
|
"Jane " <Jane@mytrashmail.com> wrote in message <hn5nv9$n03$1@fred.mathworks.com>... |
|
The values are not like this. They are x,y,z coordinates which looks like a nonuniform shape (has no pattern). It is like a grid. The rows are the different position of that grid in the depth. Another problem is how I can connect the xyz coordinates together to form a grid looking shape if the data is not structured in a way to join the points up to form a line. e.g. it would go from left to right and then back to the left again. I would want it to join from left to right and then up one then left then up one until it reaches the top and then come back down to form a grid. Maybe there is a plotting function that does that? Otherwise i would need to reshape the data plus add more data for it to join the points in a particular pattern using line. |
|
Dear Jane! |
|
for reshapexyz = 1:18 |
|
Dear Jane! |
|
|
|
Dear Jane! |
|
|
|
Dear Jane! |
|
Hi, |
|
Dear Jane! |
|
|
|
Probably you haven't pre-allocated dd. Try adding |
|
|
|
Jan Simon showed you the way in his March 11 post, i.e. use |
|
Yes he did show me but that was a different problem which I solved march 11 and I find it hard to get used to these functions. Maybe there is a different way to solve my problem. |
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 at files@mathworks.com
