Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
-3 votes
1 answer
51 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
144 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 ...
0 votes
0 answers
77 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
88 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....
2 votes
2 answers
86 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
88 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) ...
1 vote
1 answer
136 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*...
2 votes
1 answer
124 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 ...
2 votes
1 answer
55 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
46 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
139 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 ...
0 votes
0 answers
44 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( ...
0 votes
2 answers
99 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 ...
1 vote
1 answer
53 views

I'm trying to make a histogram of a set of data with integers from 1 to n, with one bar for each value. Setting the number of bars to be equal to the number of integers does not work: octave:113> [...
צבי's user avatar
  • 31

15 30 50 per page
1
2 3 4 5
...
355

AltStyle によって変換されたページ (->オリジナル) /