Community Profile

photo

Fredrik Slungård


1 total contributions since 2015

Fredrik Slungård's Badges

  • Thankful Level 1

View details...

Contributions in
View by

Question


I'm using a for loop to create a new random variable X with range [0 1], I want the forloop to ignore values above 1 and iterate untill all the values are in range.
clc; clear all; close all; n = 200; % Number of iteration ro = 0.75; % Correlation factor X = zeros(1,n); x = ...

oltre 5 anni ago | 4 answers | 0

4

answers