heaviside function in MATLAB R2010b

8 ビュー (過去 30 日間)
Watheq Elias
Watheq Elias 2011 年 3 月 31 日
Hello everybody,
I am trying to use the function 'heaviside' in MATLAB R2010b, but I get a wrong massage says that Undefined function or method 'heaviside' for input arguments of type 'double'.
Could anyone help me please.

採用された回答

Friedrich
Friedrich 2011 年 3 月 31 日
Are you sure you have the Symbolic Math Toolbox installed? It looks like you don't.
Please run the ver command and look if the Symbolic Math Toolbox is listed. If not, than you haven't installed it. That would be the reason why you get the error above.
I hope I could help
  1 件のコメント
Watheq Elias
Watheq Elias 2011 年 3 月 31 日
Unfortunately, Symbolic Math Toolbox is not installed.
Thanks so much.

サインインしてコメントする。

その他の回答 (2 件)

Friedrich
Friedrich 2011 年 3 月 31 日
Hi,
try to run the which command to see if the function is available:
>> which -all heaviside
The output should look like this:
C:\Program Files\MATLAB\R2010b\toolbox\symbolic\symbolic\heaviside.m
If you can't locate the function try a
>> restoredefaultpath
and try again to call this function

Watheq Elias
Watheq Elias 2011 年 3 月 31 日
Thanks for your help.
I have tried that but there is nothing. I have checked toolbox directory and the symbolic folder does not exist there at all.

カテゴリ

Help Center および File ExchangeIntroduction to Installation and Licensing についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by