MATLAB Answers

how to write this

1 view (last 30 days)
Saad Almalki
Saad Almalki on 18 Jun 2020
Answered: David Hill on 18 Jun 2020
how to write 9 * u(t-2) in matlab

Answers (1)

David Hill
David Hill on 18 Jun 2020
If u and t are just scalar
9*u*(t-2);
If u and t are arrays or matrices of the same size
9*u.*(t-2);

Tags

Community Treasure Hunt

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

Start Hunting!