Azzera filtri
Azzera filtri

express function as function handles

1 visualizzazione (ultimi 30 giorni)
Bright Edison
Bright Edison il 16 Apr 2019
Commentato: Walter Roberson il 16 Apr 2019
How can i express this function as a function handle @dints
function f = dint2(x, y)
tmp=[];
for ii=1:1:length(x)
tmp(ii)=x(ii) * y^2 *density(x(ii),y);
end
f=tmp;
end

Risposte (1)

per isakson
per isakson il 16 Apr 2019
Modificato: per isakson il 16 Apr 2019
fh = @dint2;
What's density() ?

Categorie

Scopri di più su Environment and Settings in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by