how to interpolate stepfunctionresponse

hey Guys i just have a question about a project i ve been working on latlely on University so i have the results from the Lab to plot a step function and its response for a DC Motor but that s only for a value of 5A stepfunction in function of time with this vector i = [ 0 1 1 2 ; 0 0 5.05 5.05] and a Matrix which is 1002*2 big for the step response and its time values is there any kind of interpolation i can use so i can create some kind of relation between the two functions so if for example i give a vector with a value of 4 A i can get its stepresponse?

Answers (1)

Paul
Paul on 18 Jul 2023
Hi Hassen,
I don't undertstand how the matrix i fits into the problem, and I assume that one column of the Matrix is a time vector and the other column is the output of the system in response to a step input.
If the system is linear, then the sclaing property holds, i.e, if y(t) is the output of the linear system in response to an input u(t), then the output of that same system in reponse to an input u1(t) = c*u(t), where c is a constant, is y1(t) = c*y(t).

3 Comments

hey the system is no linear there is no constant i solved the problem with matlab identification tool it builds a transfer function so that every time i vary the input i get a different output but thanks for your help anyways :)
By definition, a transfer function is a representation of linear system, so the scaling property will hold.
thanks man can you help me with this
https://de.mathworks.com/matlabcentral/answers/2003387-current-ripple-of-pwm-signal-matlab-code?s_tid=srchtitle

Sign in to comment.

Categories

Asked:

on 18 Jul 2023

Commented:

on 1 Aug 2023

Community Treasure Hunt

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

Start Hunting!