what is the wrong here

Answers (2)

Image Analyst
Image Analyst on 24 Dec 2020

0 votes

You never assigned any values to t before you tried to use t. What values do you think/expect/want t to have? You have to assign them to t first.
Cris LaPierre
Cris LaPierre on 24 Dec 2020

0 votes

Do you realize your screenshot has nothing to do with the code you've shared?
  • You are not using a valid variable name
  • Your screenshot shows you are trying to use a variable you have not defined (clearly stated in the red error message)

Products

Asked:

on 24 Dec 2020

Answered:

on 24 Dec 2020

Community Treasure Hunt

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

Start Hunting!