Feeds
提问
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...
12 years 前 | 1 个回答 | 0
1
个回答提问
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 ...
12 years 前 | 1 个回答 | 0
1
个回答提问
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...
12 years 前 | 3 个回答 | 0
3
个回答提问
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...
12 years 前 | 3 个回答 | 0
3
个回答提问
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...
13 years 前 | 2 个回答 | 0
2
个回答提问
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...
13 years 前 | 2 个回答 | 0
2
个回答提问
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 ...
13 years 前 | 2 个回答 | 0