imprimir valor no octave

To print a value in Octave, you can use the disp function. The disp function is used to display the value of a variable or an expression.

Here is an example of how to use the disp function in Octave:

x = 10;
disp(x);

This will output the value of x, which is 10, to the console.

Note that in Octave, you can also use the shorthand notation to print a value without explicitly calling the disp function. For example:

x = 10;
x

This will also output the value of x to the console.

I hope this helps! Let me know if you have any further questions.