plotting the output of an integral

2 views (last 30 days)
R yan
R yan on 1 Jul 2015
Answered: RahulTandon on 8 Jul 2015
syms x; syms t; int(1./((1-t.*x).^3),t,0,1)
ans =
piecewise([x = 1, Inf], [not 1/x in (0, 1) and x href = ""</a> 1, -(x/2 - 1)/(x - 1)^2])
How can I plot the output? I tried ezplot, but doesn't work.
thanks
  1 Comment
RahulTandon
RahulTandon on 8 Jul 2015
It works, but you will have to refine the plot for yourself.

Sign in to comment.

Answers (1)

RahulTandon
RahulTandon on 8 Jul 2015
%% Start; I rephrased your problem, as below clc; syms x t y clear; y = int(1/((1-t*x)^3),t); ezplot(y,[0,1]);

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!