Bode diagram command is not working

2 ビュー (過去 30 日間)
Diana Dawoud
Diana Dawoud 2021 年 4 月 23 日
回答済み: Star Strider 2021 年 4 月 23 日
I used to plot the bode diagram using these commands, and now its not working. Which toolbox I should download
s = tf('s');
H=100/(s+100)
bode(H);grid;

回答 (1 件)

Star Strider
Star Strider 2021 年 4 月 23 日
First please go into detail abouot what ‘not working’ means.
If it worked before, it should still work.
Run this:
which bode -all
from a script or your Command Window.
The only results should be:
C:\Program Files\MATLAB\R2021a\toolbox\control\ctrlobsolete\bode.m
C:\Program Files\MATLAB\R2021a\toolbox\shared\controllib\engine\@DynamicSystem\bode.m % Shadowed DynamicSystem method
If anything else appears, such as indicating that ‘bode is a variable’, that is likely the problem. The solution is to rename whatever is causing the problem to some name that does not cause problems.

カテゴリ

Help Center および File ExchangeGet Started with Control System Toolbox についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by