2 Comments

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.
Thanks!

Sign in to comment.

Answers (0)

Categories

Asked:

on 9 Apr 2021

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!