User | Kudos |
---|---|
11 | |
3 | |
2 | |
2 | |
2 |
It would be nice to have an easier way to initialize simple vectors such as v1= [1, 2, 3, 4, 5], v2= [-6, -4, -2, 0, 2, 4, 6], or v3= [0, 0.1, 0.2, ..., 0.9, 1.0]. In MATLAB, this is easily accomplished as v1= 1:5, v2= -6:2:6, and v3= 0:0.1:1. No ugly for loops are necessary! Likewise, MATLAB has many matrix/array construction funcitons such as repmat() and toeplitz(). (NOTE: I am using an older version of LabVIEW: 2009 SP1.)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can use the Ramp functions already present in LabVIEW to achieve this functionality.