# Resolution exercise Octave

4 messages
Open this post in threaded view
|

## Resolution exercise Octave

 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 Thank you! -- Sent from: https://octave.1599824.n4.nabble.com/Octave-General-f1599825.html
Open this post in threaded view
|

## Re: Resolution exercise Octave

 On Wed, May 6, 2020 at 8:43 PM Simone <[hidden email]> 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.2ok, 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.htmlit has examples for everything you should need to work through the problem.