[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: find
From: |
Ben Abbott |
Subject: |
Re: find |
Date: |
Sat, 06 Jun 2009 10:27:49 -0400 |
On Jun 6, 2009, at 10:20 AM, Carlo Rossi wrote:
Hello folk,
how can I conver the values of a cell to double?
A = cell(10, 1);
A = double(A); % this gets an error
thanks,
Does cell2mat do what you're looking for?
A = cell (10, 1);
A(:) = pi;
cell2mat (A)
ans =
3.1416
3.1416
3.1416
3.1416
3.1416
3.1416
3.1416
3.1416
3.1416
3.1416
Ben
- find, Carlo Rossi, 2009/06/04
- find, Carlo Rossi, 2009/06/04
- find, Carlo Rossi, 2009/06/04
- Re: find, Carlo Rossi, 2009/06/04
- Re: find, Carlo Rossi, 2009/06/06