Problems with an integral
Show older comments
I want to solve following integral:

my attempt is looking like that: (but it's not working, always got an error "Incorrect use of '=' operator. To assign a value
to a variable, use '='. To compare values for
equality, use '=='.")
clear all;
clc;
alpha1 = 1.8;
kappa1 = 25;
alpha2 = 2.2;
kappa2 = 27;
x = 10;
syms x z;
f = alpha1 * alpha2 * kappa1 * kappa2 * [(x-z)^(kappa1-1) * x^(kappa2-1)*exp(-alpha1*(x-z)^kappa1-alpha2*(x^kappa2-(x-z)^kappa2));
I = int(f,z,[0 inf]);
fVpa = vpa(I)
1 Comment
KSSV
on 17 May 2019
Typo error....why [? check
Accepted Answer
More Answers (0)
Categories
Find more on Programming in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!