Long time matlab user here.
I can't find the equivalent command in julia to produce a matrix of NaNs or for that matter a matrix filled with a single value.
What is the generally accepted way of doing this? I can think of using ones()*NaN or even repeat(NaN,) but was not sure if there was a better way or another generally accepted way.
FYI I am in the middle of implementing a bootstrap based simulation algorithm that I have in matlab in c#, R, and Julia. When I am done I will report back my finding. Specifically looking at speed and how easy it is to write maintainable and extensible OOP based code.