Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Replies: 10   Last Post: Dec 3, 2012 5:16 PM

 Messages: [ Previous | Next ]
 Nasser Abbasi Posts: 6,629 Registered: 2/7/05
Posted: Dec 3, 2012 9:28 AM

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.

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.

--Nasser

Date Subject Author
12/3/12 Javier
12/3/12 Nasser Abbasi
12/3/12 Javier
12/3/12 Javier
12/3/12 Nasser Abbasi
12/3/12 Javier
12/3/12 Nasser Abbasi
12/3/12 dpb
12/3/12 Javier
12/3/12 dpb
12/3/12 Steven Lord