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.

 Risposta accettata

KSSV
KSSV il 30 Ott 2022
Modificato: KSSV il 30 Ott 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

Più risposte (0)

Categorie

Scopri di più su Deep Learning Toolbox in Centro assistenza e File Exchange

Tag

Richiesto:

il 30 Ott 2022

Modificato:

il 30 Ott 2022

Community Treasure Hunt

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

Start Hunting!

Translated by