Unidentified variable or function of x

5 Ansichten (letzte 30 Tage)
seoung gi Sin
seoung gi Sin am 30 Okt. 2022
Bearbeitet: KSSV am 30 Okt. 2022
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.

Akzeptierte Antwort

KSSV
KSSV am 30 Okt. 2022
Bearbeitet: KSSV am 30 Okt. 2022
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

Weitere Antworten (0)

Kategorien

Mehr zu Deep Learning Toolbox finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by