How can I input this in Matlab?

1 view (last 30 days)
Sheila Mae Soriano
Sheila Mae Soriano on 13 Sep 2021
I solved a problem and I don't know how to put it in Matlab. (I am new)
100+(5-4)t (this is the one I want to insert in the matlab)
answer: v(t)=100+t
I hope you can help me here. Thank you!

Answers (1)

Syed Haider M. Rizvi
Syed Haider M. Rizvi on 13 Sep 2021
Hello,
you have to place asterik sign * if you want to get the product,
For example,
100+(5-4)*t
  1 Comment
Sheila Mae Soriano
Sheila Mae Soriano on 13 Sep 2021
Hello! I already tried that and it shows "Unrecognized function or variable 't'"

Sign in to comment.

Categories

Find more on Get Started with MATLAB in Help Center and File Exchange

Products


Release

R2021a

Community Treasure Hunt

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

Start Hunting!