what is the wrong here
Show older comments
Answers (2)
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
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)
Categories
Find more on Logical in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!