Posts by Vitor Bento • 43 points
4 posts
-
0
votes2
answers619
viewsQ: standard deviation of all elements of a matrix in MATLAB?
How to calculate the standard deviation of all elements of a matrix? the Std function divides by column. How to calculate by all elements?
matlabasked Vitor Bento 43 -
0
votes0
answers267
viewsQ: Random Python Monte Carlo function
I need to generate random numbers. An amount of numbers in the range of 10 5 and 10 6 random numbers. The randint function of the Random library seems to me that it does not have a good degree of…
-
2
votes1
answer53
viewsQ: Conversion of boolean values to numbers
How do I get the answer from False be it 0 and True be it 1 equal in C? That is, I wish the answer of: u=(1>2) be it 0 and not False? Thank you…
pythonasked Vitor Bento 43 -
2
votes1
answer340
viewsQ: Python : 'int' Object is not iterable Random function
I’m having this mistake when I run the code. If I define pos=(algum numero qualquer) code runs normally ,but if I use this error function. 'int' Object is not iterable in line 20 at first. Where am…