Community Profile

photo

Fredrik Slungård


Active since 2015

Followers: 0   Following: 0

Statistics

  • Thankful Level 1

View badges

Feeds

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 = ...

9 years ago | 4 answers | 0

4

answers