Unidentified variable or function of x

function [x]=cake(p,q,r)
a=diff(p,x)
b=diff(q,x)
c=exp(-1*int(p,x))
p2=diff(((a+b)*c),x)/((a+b)*c)
q2=((a+b*c)*(-c))
r2=(((a+b)*c)*diff(r,x))-((diff(((a+b)*c),x))*((a+b)*c))
end
I am trying to make an algothrism but x variable is unidentified.
Help.

 採用された回答

KSSV
KSSV 2022 年 10 月 30 日
編集済み: KSSV 2022 年 10 月 30 日

1 投票

function x=cake(p,q,x)
a=diff(p,x)
b=diff(q,x)
c=exp(-1*int(p,x))
p2=diff(((a+b)*c),x)/((a+b)*c)
q2=((a+b*c)*(-c))
r2=(((a+b)*c)*diff(r,x))-((diff(((a+b)*c),x))*((a+b)*c))
end

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeMATLAB についてさらに検索

タグ

質問済み:

2022 年 10 月 30 日

編集済み:

2022 年 10 月 30 日

Community Treasure Hunt

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

Start Hunting!

Translated by