Skip to content

create function to initialize RNG seed - must work both for matlab (including "old" versions) AND octave #95

@Remi-Gau

Description

@Remi-Gau

I had this function somewhere else but I think this is not ideal

function [] = setUpRand()
    % Set up the randomizers for uniform and normal distributions.
    % It is of great importance to do this before anything else!
    rand('state', sum(100, clock));
    randn('state', sum(100, clock));
end

@marcobarilari I think this is much more your area of expertise than mine. Can I assign you to this?

Having one function we can reuse across all projects would be super useful.

And also we actually need it for our localizers I think.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions