cell

Carlo Rossi serosole at yahoo.it
Sat Jun 6 13:21:20 CDT 2009


right, unfortunately I load it by file and they aren't;
I just wanted avoid to call 10 times 

> A{1} = double([10 10; 20 20; 30 30; ]);

do you understand?


--- Sab 6/6/09, James Sherman Jr. <shermanj at umd.edu> ha scritto:

> Da: James Sherman Jr. <shermanj at umd.edu>
> Oggetto: Re: cell
> A: "Carlo Rossi" <serosole at yahoo.it>
> Cc: "Octave-ML" <help-octave at octave.org>
> Data: Sabato 6 giugno 2009, 20:17
> I'm not clear what you want the
> call
> 
> double(A)
> 
> to do.  All the values you entered are already of type
> double by default, I believe.  If for some reason they
> aren't, you could just replace your assignment line
> with:
> 
> 
> A{1} = double([10 10; 20 20; 30 30; ]);
> 
> On Sat, Jun 6, 2009 at 1:34 PM,
> Carlo Rossi <serosole at yahoo.it>
> wrote:
> 
> 
> 
> hello,
> 
> 
> 
>  I have a cell: A = cell (10,1);
> 
> A{1} = [10 10; 20 20; 30 30; ];
> 
> I filled it in this way for ten times;
> 
> 
> 
> now I want call double(A) but I can't because it's
> a cell.
> 
> Is there a way to do it without call
> 
> double( A{1} );
> 
> double( A{2} );
> 
> .........
> 
> 
> 
> thanks,
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> _______________________________________________
> 
> Help-octave mailing list
> 
> Help-octave at octave.org
> 
> https://www-old.cae.wisc.edu/mailman/listinfo/help-octave
> 
> 
> 
> 


      




More information about the Help-octave mailing list