is it right?
Show older comments

2 Comments
Walter Roberson
on 9 Apr 2021
It looks right to me, since you have not defined any t .
Note: when you do define t if it is not a square 2D matrix, then you will have trouble using the * operator, which is algebraic matrix multiplication (inner product). You would want the .* operator instead.
Rufaydah Nwilati
on 9 Apr 2021
Answers (0)
Categories
Find more on Creating and Concatenating Matrices in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!