From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Access to float coordinates in a 3D matrix
Date: Mon, 03 Dec 2012 08:28:40 -0600
Organization: NNTP Server
Lines: 23
Message-ID: <k9icul$bed$>
References: <k9i87n$inl$> <k9i8s3$vp5$> <k9i9ir$nki$> <k9iaid$518$> <k9ibtr$3aq$>
Reply-To: <HIDDEN>
NNTP-Posting-Host: d9rkuHWV+LYy/jluNrFC/
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/17.0 Thunderbird/17.0
X-Notice: Filtered by postfilter v. 0.8.2
Xref: comp.soft-sys.matlab:784051

On 12/3/2012 8:11 AM, Javier wrote:

> This are the first values for x: x(1),x(2) and x(3):
>3,54551732809566	3,63234837121917	3,71917941434267	3.
> They are floating points because I have a decimal resolution. If for example
>I want to acces Structures (x(1),y(1),z(1)), I can't.

what exactly is your x above? is it a matrix? struct array?
cell? you show values with a "," in it, so confusing to guess
what you have.

You have to start with describing the data stucture your data
is in. Be clear what is it. If it is a matrix of 3 columns,
each column for a coordinates, then writing

x(i,:)  gives you the 3 coordinates in the i'th row as a vector.