etcann


Active since 2011

Followers: 0   Following: 0

Message

Statistics

Feeds

View by

Question


a{20,20}(3,1) ??
Hi, Can I create a zero matrix of 20x20 of which element is a column vector of length 3? I was looking for something like a{2...

mer än 12 år ago | 1 answer | 0

1

answer

Question


NaN data treatment: can I get a mean f a vector including NaN?
Hello, The title says it all. Can I get a mean of a vector including NaN? For instance, a= [1 2 3 NaN 4 5] mean(a) usually ...

mer än 12 år ago | 1 answer | 0

1

answer

Question


argmin of a vector
Hello, How can I pick up the argmin of a vector? I.e. In a vector such as a=[2 3 1 4 5], I want to pick up 1 by min(a) and a...

mer än 12 år ago | 3 answers | 0

3

answers

Question


exponential random draws and the seed
Hello, I have a question about setting a seed on random numbers. I have tried s = RandStream('mt19937ar','Seed','shuff...

mer än 12 år ago | 3 answers | 0

3

answers

Question


infinite domain uniform random number
Hello, I am wondering if I can generate a set of random numbers which are distributed uniformly in an (-\infty, \infty) domain...

mer än 12 år ago | 2 answers | 0

2

answers

Question


creating zero matrices all together!
Hi people! I want to create a bunch of zero matrices of size with no distinct regularities 3*3 5*5 9*9 and 50*50 for example. I...

mer än 12 år ago | 2 answers | 0

2

answers

Question


break command
Hello, I have a question in break command. a=zeros(30,1); a(1)=1; for i=1:29 a(i+1)=a(i)+1; if a(i)>20 ...

mer än 12 år ago | 2 answers | 0

2

answers