統計
All
Feeds
回答済み
Deriving X from X'X
n=2; k=3; X=rand(n,k); % make sample matrix X Xn=X'*X Is it right what you want?
Deriving X from X'X
n=2; k=3; X=rand(n,k); % make sample matrix X Xn=X'*X Is it right what you want?
8年以上 前 | 0
回答済み
Combining Color Images as one
Bimage = zeros(256, 256, 1, 'uint8'); Bimage(:, :, 3) = repmat(255:-1:0, 256, 1); Bimage=Bimage(:,:,3); image...
Combining Color Images as one
Bimage = zeros(256, 256, 1, 'uint8'); Bimage(:, :, 3) = repmat(255:-1:0, 256, 1); Bimage=Bimage(:,:,3); image...
8年以上 前 | 2
| 採用済み
回答済み
Can MATLAB create a linear graph from polynomial graph?
x=0:0.2:2*pi; y=3*sin(x)+2*x+rand(size(x)); % example data % linear regression P=polyfit(x,y,1); y2=polyval(P,x)...
Can MATLAB create a linear graph from polynomial graph?
x=0:0.2:2*pi; y=3*sin(x)+2*x+rand(size(x)); % example data % linear regression P=polyfit(x,y,1); y2=polyval(P,x)...
8年以上 前 | 1
回答済み
Error using * matrix dimensions must agree?
I think, if your 'y' is vary with two independent variables, x and t, you should make not one dimensional vector domain but two ...
Error using * matrix dimensions must agree?
I think, if your 'y' is vary with two independent variables, x and t, you should make not one dimensional vector domain but two ...
8年以上 前 | 0