tf function doesn't work

26 vues (au cours des 30 derniers jours)
EL BIARI AYOUB
EL BIARI AYOUB le 26 Sep 2020
when I try to use tf function this is what I get :
>> s = tf('s')
Unrecognized function or variable 'tf'.
Did you mean:
>> s = tfe('s')
  1 commentaire
lounis chehrit
lounis chehrit le 10 Juin 2021
It seems that the Control system toolbox is not installed !
You have to install It first !

Connectez-vous pour commenter.

Réponse acceptée

Ameer Hamza
Ameer Hamza le 26 Sep 2020
Modifié(e) : Ameer Hamza le 26 Sep 2020
You need to have the control system toolbox: https://www.mathworks.com/help/control/index.html for using tf() function. It seems that you haven't installed this toolbox. Check the output of
ver control
If you have the toolbox installed, it will display the version of toolbox otherwise you don't have the toolbox.
  4 commentaires
Walter Roberson
Walter Roberson le 5 Mai 2022
You might need to reinstall .
Fernanda
Fernanda le 11 Mar 2024
Muchas gracias!!

Connectez-vous pour commenter.

Plus de réponses (1)

Nasreddine
Nasreddine le 5 Jan 2025
Modifié(e) : Walter Roberson le 5 Jan 2025
clear all ;
close all ;
clc ;
s=tf('s');
G=0.8/(0.5*s+1);
H=feedback(G,1);
step(H);
grid
  1 commentaire
Walter Roberson
Walter Roberson le 5 Jan 2025
I do not understand how this answers the question about tf() not being found?

Connectez-vous pour commenter.

Catégories

En savoir plus sur Introduction to Installation and Licensing 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