help-octave
[Top][All Lists]
Advanced

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

Re: Resolution exercise Octave


From: Nicholas Jankowski
Subject: Re: Resolution exercise Octave
Date: Wed, 6 May 2020 21:00:35 -0400

On Wed, May 6, 2020 at 8:43 PM Simone <address@hidden> wrote:
Can you help me to solve this question:

Create ranges of values from one to ten and store in a variable called R1.
In R2, store non-integer values in the range of one to ten, with steps of
0.2

ok, I just walked my daughter through some of this as she's learning Octave/Matlab :)

Assuming you know the basics of 'storing values in a variable', you should learn how to use the colon ( : ) operator to specify a range.

see the Octave documentation page on Ranges:
https://octave.org/doc/v5.2.0/Ranges.html

it has examples for everything you should need to work through the problem. 


reply via email to

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