Use of 'ArrayValued' in Matlab numerical integration
Ältere Kommentare anzeigen
Why in Matlab numerical integration
f = @(x) 5;
integral(f,0,2,'ArrayValued',true)
needs 'ArrayValued',true ... while
f = @(x) x;
integral(f,0,2)
don't need it?
Akzeptierte Antwort
Weitere Antworten (1)
f = @(x) 5*ones(size(x));
integral(f,0,2)
Kategorien
Mehr zu Univariate Discrete Distributions finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!