fplot taking too long. any suggestions?
Afficher commentaires plus anciens
Hello everyone, i am trying to plot the following function in MATLAB2017a but it is taking way too long (over 12 hours and still nothing). measure and support are 10000*1 and 1*10000 double respectively. Any suggestions? the step before fplot takes ony few minutes..
opengl software
syms t
T0=1;
density(t)=((support.*(normpdf((support-psi(t))/sqrt(t)))*measure)/((normpdf((support-psi(t))/sqrt(t)))*measure))*(normpdf(psi(t)/sqrt(t))/(2*t^(3/2)));
fplot(density,[0 T0],'-k')
function y=psi(t)
y=(log(12/10)+0.5.*0.1.^2.*t-0.1.*t-0.05.*(1-exp(-t)))./0.1;
end
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Surface and Mesh Plots dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!