I have two very big column vectors, A and B, of size ax1 and bx1, respectively. I want to construct a vector C of size (b*a)x1 by computing A(i)*B(j) for each i and j. To illustrate what I mean: c...
Use the times function to perform element-by-element multiplication of a fi object and a scalar. a=4; b=fi([2 4 7; 9 0 2]) b= 2×3 object 2 4 7 9 0 2 DataTypeMode: Fixed-point: binary point scaling Signedness: Signed WordLength: 16 FractionLength: 11
It’s not quite as simple as it might seem. MATLAB has become a large and complex language. It takes a while to learn it, and to learn how to search the documentation. That in part is what MATLAB Answers is useful for.
Post a Comment:
Showing 0 Comments: