tf function doesn't work

23 Ansichten (letzte 30 Tage)
EL BIARI AYOUB
EL BIARI AYOUB am 26 Sep. 2020
Kommentiert: Walter Roberson am 5 Jan. 2025
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 Kommentar
lounis chehrit
lounis chehrit am 10 Jun. 2021
It seems that the Control system toolbox is not installed !
You have to install It first !

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Ameer Hamza
Ameer Hamza am 26 Sep. 2020
Bearbeitet: Ameer Hamza am 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 Kommentare
Walter Roberson
Walter Roberson am 5 Mai 2022
You might need to reinstall .
Fernanda
Fernanda am 11 Mär. 2024
Muchas gracias!!

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (1)

Nasreddine
Nasreddine am 5 Jan. 2025
Bearbeitet: Walter Roberson am 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 Kommentar
Walter Roberson
Walter Roberson am 5 Jan. 2025
I do not understand how this answers the question about tf() not being found?

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Introduction to Installation and Licensing finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by