Finding the function of the supremum

73 views (last 30 days)
Hello.I have a function I want to calculate its supremum. The function is below.I don't know how to do this in Matlab.Please help me.

Accepted Answer

Torsten on 29 Sep 2022
Edited: Torsten on 29 Sep 2022
sup-norm is a theoretical concept.
There is no such function in MATLAB to calculate it for a general function.
In the case above you could use
syms t
f = (1-exp(-t))*heaviside(t);
ans = 

Sign in to comment.

More Answers (1)

Sam Chak
Sam Chak on 30 Sep 2022
I'm not sure if the following is what you want. But this 1st-order transfer function (taking the Laplace transform)
produces the same step response as the given Continuous-Time Signal. So the following computes the -Norm of the linear system, instead of the signal.
Also worth checking out these:
t = linspace(0, 10, 1001);
x = 1 - exp(-t);
G = tf(1, [1 1])
G = 1 ----- s + 1 Continuous-time transfer function.
plot(t, x), grid on, xlabel('t'), title('Continuous-Time Signal')
step(G, 10), grid on, xlabel('t'), title('Step Response of Transfer Function')
[ninf,fpeak] = norm(G, inf)
ninf = 1
fpeak = 0
  1 Comment
Aysel Alimirzayeva
Aysel Alimirzayeva on 30 Sep 2022
@Sam Chak The information you gave me was very useful. Thank you very much.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!