why is this happening? It's just an example from the textbook.

1 回表示 (過去 30 日間)
승택 홍
승택 홍 2021 年 9 月 24 日
回答済み: Chunru 2021 年 9 月 24 日
f=@(x) x-3;
r=solve(f)
Check for incorrect argument data type or missing argument in call to function 'solve'.

回答 (1 件)

Chunru
Chunru 2021 年 9 月 24 日
syms x
f=@(x) x-3;
r=solve(f, x)
r = 
3

カテゴリ

Help Center および File ExchangeConversion Between Symbolic and Numeric についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by