photo

Oscar


Federal Aviation Administration

Last seen: environ 2 ans il y a Actif depuis 2014

Followers: 0   Following: 0

Message

Statistiques

  • Thankful Level 1

Afficher les badges

Feeds

Afficher par

Question


How to create a conditional symbolic function?
Something like: syms x f(x) = sym('f(x)'); if (x>0 && x<=500) f(x)=x^3; elseif(x>500 && x<=1800) f(x)...

plus de 9 ans il y a | 2 réponses | 0

2

réponses

Question


Can someone tell me why the E (x) (equation below) work perfect up to E (416)? If I try to calculate the E(x) for any x > 416 the answer that I get is NaN.
E= @(x)1.2840.*(x<=55)+... exp(((0.5+((5.9)*((x-55)./(112.3-55)))).^2)./2).*(x>55 & x<=112.3)... +24.5325.*(x>...

plus de 10 ans il y a | 1 réponse | 0

1

réponse

Question


Is any way in Matlab to perform definite integral with conditions in the integration domain?
Basic example; f(x)= x^2+3*x for x<100 f(x)=x^3 for x>100; a=10; b=200; d=integral(f(x), a, b) Note: t...

plus de 10 ans il y a | 2 réponses | 0

2

réponses