Matlab storing data in column or row -


i have written algorithm, storing data points in column. results contains mean , std. however, if store data points in row instead, results seem more close true value. there proper explanation this? in opinion, results should independent way of storage , remain same.

function [c]=test(n,m)   rng default   b=randn(m,n)   rng default   a=randn(n,m)   c=a'-b end 

i using generator calculations. results turns out different depending on if use randn(m,n) or randn(n,m). (i taking m-th column or m-row sum them cumulatively).


Comments

Popular posts from this blog

javascript - Clear button on addentry page doesn't work -

c# - Selenium Authentication Popup preventing driver close or quit -

tensorflow when input_data MNIST_data , zlib.error: Error -3 while decompressing: invalid block type -