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
Latent class analysis: - gsem- & pseudo R-squaredDear users, This may be a dumb question, but I am trying familiarizing myself with Latent class clu…
Markov switching model with panel dataHello, I have a panel data with 90 companies across 5 years. I have the financial variables for eac…
Sector_Year fixed effectsDear all, I have a question relating to country_sector and sector_year fixed effects. I am estimati…
Help with MergeGood Morning, I have some trouble in using the merge command in order to create a panel data on bank…
Heckman sample selection & ivregI'm trying to estimate the union wage premium. There are two potential issues I need to tackle: 1. …
Subscribe to:
Post Comments (Atom)
0 Response to How to convert a scalar value into a large matrix
Post a Comment