Community Profile

photo

Oscar


Federal Aviation Administration

Last seen: bijna 2 jaar ago Active since 2014

Followers: 0   Following: 0

Message

Statistics

  • Thankful Level 1

View badges

Feeds

View by

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)...

meer dan 9 jaar ago | 2 answers | 0

2

answers

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>...

ongeveer 10 jaar ago | 1 answer | 0

1

answer

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...

ongeveer 10 jaar ago | 2 answers | 0

2

answers