help-octave
[Top][All Lists]
Advanced

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

Re: Resolution exercise Octave


From: Carlo De Falco
Subject: Re: Resolution exercise Octave
Date: Thu, 7 May 2020 09:33:56 +0000

Are you following an Octave/Matlab tutorial?

These are pretty basic constructs typical of the Octave/Matlab language,
they are described in the manual here :

  https://octave.org/doc/v5.2.0/Ranges.html#Ranges

you should really read in more details the initial part of the manual
if you are not familiar with such basic syntax.

> Il giorno 7 mag 2020, alle ore 02:14, Simone <address@hidden> ha scritto:
> 
> Create ranges of values ​​from one to ten and store in a variable called R1.

 R1 = [1 : 10]

> In R2, store non-integer values ​​in the range of one to ten, with steps of
> 0.2

 R2 = [1 : 0.2 : 10]

You can check that the values are "stored" by inspecting the workspace
with the command "whos" (or with the variable browser in the GUI)

c.



reply via email to

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