Questions tagged [octave-gui]

80 questions
0
votes
1 answer

How to correctly calculate a nonlinear function and plot its graph in Octave?

Goal: Plot the graph using a non-linear function. Function and graph This is my first time working at Octave. To plot the graph, I need to calculate a function in the range Fx (0.1 ... 10). I tried to implement this by looping the function through…
Delta
  • 127
  • 1
  • 6
0
votes
1 answer

indefinite integral in octave

I am trying to integrate x^3/(exp(x)-1) in the limit 0 to infinity with respect to x,and it should answer pi^4/15 but it instead of this ocatve is printing original integral in symbolic form. How to resolve this issue? I tried same integral on…
Barry
  • 103
  • 4
-1
votes
1 answer

Wrong output and with a special sign "[square]" although same code works in "Octave-online"

Octave 6.1.0 (GUI) This is a spin-off from Octave: How to turn a vector of integers into a cell array of strings?. >> a = 1:3; >> cellstr(int2str(a(:))) ans = { [1,1] = "[square]" } While the output should be: ans = { [1,1] = 1 [2,1] = 2 …
questionto42
  • 7,175
  • 4
  • 57
  • 90
-1
votes
1 answer

How to permanently change directory in octave?

Even when I am using he addpath command in octave For eg: addpath('D:\Random Small Projects\Coursera\Machine Learning\Week 2\machine-learning-ex1\ex1') when i type pwd it is showing the curent directory as 'C:\user' I don't know why the add path…
-2
votes
1 answer

how to construct a for statement that determines the root mean square from a list of data (numeric data) written in an Octave

So I am being asked on doing this simple problem, I know how to code in C/C++, and Java, but this is very different from those languages, any help?
1 2 3 4 5
6