hi guys, I want to make a spectral RollofPoint of speech and when I enter this code from mathworks, I get this error that the variable t1 is not declared, even though I declared it. Please I will be happy for every piece of advice.

1 vue (au cours des 30 derniers jours)

Réponse acceptée

Stephan
Stephan le 12 Mai 2021
Modifié(e) : Stephan le 12 Mai 2021
You have to run code so that the variables appear in your workspace. go to the editor tab and press "run". the editor tab appears when you click into the code section.
  3 commentaires
Stephan
Stephan le 12 Mai 2021
Modifié(e) : Stephan le 12 Mai 2021
Do you get an error when you execute the code? I would expect that you get an error message when you run the code, because you use r1 in the line 4 before you calculate it in line 5. Switch the lines 4 and 5.
Branislav Gabco
Branislav Gabco le 12 Mai 2021
Yes your advice help me. Thank you so much. You are my hero :)

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Argument Definitions dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by