Skip to main content
-3 votes
1 answer
46 views

In GNU Octave when I use help funcname for some function, I get the help info followed by this message: Additional help for built-in functions and operators is available in the online version of the ...
Andrew Steane's user avatar
2 votes
2 answers
135 views

Short version: How do I vectorize two matrices A and B by column so that I can pass the 1st, 2nd, ..., ith column of A and the 1st, 2nd, ..., ith column of B to a function without a loop? I have two ...
pimple's user avatar
  • 358
0 votes
0 answers
66 views

I'm currently taking a Numerical Analysis course, where we use Octave for a bunch of exercises. The teacher instructed us to use Octave with the GUI to make it easier for us, and I have no difficulty ...
lrnr's user avatar
  • 1
3 votes
0 answers
56 views

In Octave, containers.Map objects are handle objects that can be passed around by reference but always refer to the same object [1]. However, the only test for "equality" between containers....
NateT's user avatar
  • 312
2 votes
0 answers
85 views

In GNU Octave 10.2.0, when I run x = 1.000444, I seem not to get the closest double to the real number 1.000444. Not even tied: >> format long >> x = 1.000444 x = 1....
Felipe Jiménez's user avatar
0 votes
0 answers
46 views

I am trying to create 3D-plots with Octave that I can then include in a LaTeX-document. For this, I print the plot from Octave using the option -dpdflatexstandalone which creates a PDF of the plot ...
GraffL's user avatar
  • 121
2 votes
2 answers
80 views

I have a cell 3x26x72 which contains a series of characters of size 1xN char. I would like to count the number of appearances of each serie of characters in the cell 1x26x72. I tried with "mode&...
GMIC's user avatar
  • 41
0 votes
1 answer
86 views

Can someone explain to me please why B = diag(-2*ones(m,1),0) + diag(ones(m-1,1),-1) + diag(ones(m-1,1),1) takes 1,22 s. While A = diag(-2*ones(1,n)) + diag(ones(1,n-1),1) + diag(ones(1,n-1),-1) ...
Katpton Liamfuppinshire's user avatar
1 vote
1 answer
120 views

I have the following simple script in Octave : pkg load symbolic syms a P=[[a 2 -1];[2 sym('-3/2') sym('1/2')];[-2 0 sym('1/2')]] M=[3 4 2;8 10 6;12 16 10] P*M Resulting in: [3*a + 4 4*a + 4 2*...
Dominique Sutter's user avatar
2 votes
1 answer
88 views

I'm having this error but I don't understand why. I'm creating a structure of size 3x4x4 with 6 fields within loops. Then, I would like to create two more fields for the whole structure. How can I do ...
GMIC's user avatar
  • 41
2 votes
1 answer
53 views

I have been trying to solve this issue with out any luck so far. From the Coursera course "Introduction to Data, Signal, and Image Analysis with MATLAB" the below code is retrieved. I'm ...
Edwin's user avatar
  • 474
1 vote
0 answers
44 views

I am using Octave, version 4.2.1. Given the Octave code: clear all close all clc %region 1 x = [0 1 1]; y = [0 0 1]; fill(x,y,'b') hold on %region 2 x = [0 1 1]; y = [1 1 0]; fill(x,y,'y') Region 1 is ...
Aria's user avatar
  • 119
0 votes
0 answers
125 views

I've been running around in circles trying to get octave to run in a jupyter notebook using VS Code. I'm hoping to install xeus-octave. At present, I'm opening VS Code, then opening a terminal in VS ...
Joel's user avatar
  • 24k
0 votes
0 answers
40 views

I have written an Octave function which takes a string value for UTC time and converts it to the time in a given timezone, code shown below. function [ dest_time ] = utc_2_given_timezone( ...
babelproofreader's user avatar
0 votes
2 answers
88 views

I'd like to use GNU Octave for signal processing; one channel would be the audio, the other would be a sync signal input. This is the default recorder object in Octave: BitsPerSample = 8 ...
szoftveres's user avatar

15 30 50 per page
1
2 3 4 5
355