help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [newbie] prefered way to enter the values of a matrix interactively


From: Juan Pablo Carbajal
Subject: Re: [newbie] prefered way to enter the values of a matrix interactively
Date: Tue, 16 Oct 2012 21:07:29 +0200

On Tue, Oct 16, 2012 at 9:04 PM, Jean Dubois <address@hidden> wrote:
> What is the prefered way to enter the values of a matrix
> interactively. I can imagine this is a common task which can be
> performed by a predefined matlab-function and it probably is not a
> good idea to try to program a function myself for this?
> What I want is something like
> enter matrix variable name
> e.g. a
> enter matrix dimension
> e.g. 3
> enter element 1,1
> enter element 1,2
> .
> .
> .enter element 3,3
> a=...
>
> thanks in advance
> _______________________________________________
> Help-octave mailing list
> address@hidden
> https://mailman.cae.wisc.edu/listinfo/help-octave
>

Hi,
I do not see the point of doing this in an interactive language, but
anyways check function "input" and "eval"

Cheers


reply via email to

[Prev in Thread] Current Thread [Next in Thread]