Info

This question is closed. Reopen it to edit or answer.

how to write this

1 view (last 30 days)
Saad Almalki
Saad Almalki on 18 Jun 2020
Closed: MATLAB Answer Bot on 20 Aug 2021
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!