Say I have a value of 2
How can I convert this into say a [50,1] matrix such that it is the same size to do some addition/subtraction with my other matrix
Currently I only know using mat X = (2\2\2\2), but I don't want to have to forward slash 50 times, is there a faster way?
Related Posts with How to convert a scalar value into a large matrix
Error r(134) in roccompHi everyone. I am trying to compare the AUCs of two tests, y1 and y2. The outcome variable (true dia…
Plotting logistic regression with triple interactionDear all, I ran a logistic regression with a triple interaction for three independent and dichotomo…
New version of punafcc on SSCThanks as always to Kit Baum, a new version of the punafcc package is now available for download fro…
direct and indirect effects GSEMGood morning to everybody, I am running a GSEM (that for empirical needs cannot be a SEM). I am a li…
Creating a graph by groupHi, I can't figure out how to make a really simple graph, and I hope someone is able to help me out…
Subscribe to:
Post Comments (Atom)
0 Response to How to convert a scalar value into a large matrix
Post a Comment