how to use a graph from user input as input to the matlab program

i have a table and a plot based on that table. i want to give this plot as my input to the system in matlab program. Is it possible to give our own plot as input to the transfer function of the system in matlab? please help.

댓글 수: 6

Can you describe more precisely what you want ?
It is not clear what you mean by "give our own plot as input to the transfer function of the system in matlab"
i have a set of values with me. And a corresponding timeseries plot for it. This plot is the input to my system. I want to simulate this in matlab. So i dont know how to give either these values or that plot as input to the system. We have standard inputs like step,ramp, etc in matlab. But i dont want to use these standard ones as my input for the system. Therefore I am not able to proceed.
What do you call "system" ? Is it a dynamical system ? In a form of a state-space equation ? Or transfer function ?
Its a transfer function. System is motor.
So it does not make sense to pass a plot as an input for a transfer function.
The input is the system input, i.e. motor voltage or current or ...
You can pass the value of this input but not a plot.
yes it is actuaaly voltage plot. i also have the numerical values with me.

댓글을 달려면 로그인하십시오.

답변 (1개)

M
M 2019년 3월 8일

0 개 추천

In this case, I recommend you use lsim:

댓글 수: 2

thank you so much. I surely try and see.
did you find how to do it?

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

태그

질문:

2019년 3월 8일

댓글:

2023년 11월 1일

Community Treasure Hunt

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

Start Hunting!

Translated by