M
Matt Funk
Hi,
i am fairly new to python. I was wondering of the following is do-able
in python:
1) a = rand(10,1)
2) Y = a
3) mask = Y > 100;
4) Y(mask) = 100;
5) a = a+Y
Basically i am getting stuck on line 4). I was wondering if it is
possible or not with python?
(The above is working matlab code)
thanks
matt
i am fairly new to python. I was wondering of the following is do-able
in python:
1) a = rand(10,1)
2) Y = a
3) mask = Y > 100;
4) Y(mask) = 100;
5) a = a+Y
Basically i am getting stuck on line 4). I was wondering if it is
possible or not with python?
(The above is working matlab code)
thanks
matt