I tried the following examples:
n1 = normrnd(1:6,1./(1:6)) n2 = normrnd(0,1,[1 5]) n3 = normrnd([1 2 3;4 5 6],0.1,2,3)
I only get the following console output:
>> n1 = normrnd(1:6,1./(1:6))Undefined function 'normrnd' for input arguments of type 'double'.>> n2 = normrnd(0,1,[1 5])Undefined function 'normrnd' for input arguments of type 'double'.>> n3 = normrnd([1 2 3;4 5 6],0.1,2,3)Undefined function 'normrnd' for input arguments of type 'double'.
I have only signal processing toolbox, and plain matlab. If I type:
edit normrnd
The normrnd.m opens up normally.
What is the problem?
Best Answer