Alexpb27

15 Reputation

0 Badges

9 years, 25 days

MaplePrimes Activity


These are questions asked by Alexpb27

I want do loop with comand for to generate 20 arrays with radon variable 

I do

for i from 1 to 20 do
with(Statistics):
N:=RandomVariable(Normal(0,1)):
F_i:=Sample(N,20):
for k from 1 to 20 do
X[k] := evalf(F[k])
end do:
end do;

 

But bug all

How to hum program repeat several times and save what data result from each time it runs?

The array is:

N := vector (20, x -> y[x]);

The maple creat the array

The other is:

N := vector (20, x -> y[x]);

Where y[x] are a list 

I do plot 

plot( M,N);

But the plot is many lines with the value of the array, i want the fist coordenates of the N with fist coordenate for the M in points or line.

Thanks 

Page 1 of 1