Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

I have acquired some y axis values in display in the simulink. I want to automatedly find the coresponding x value in the graph. is the any such block available for the same or any method to do so?

조회 수: 2 (최근 30일)
Screenshot (26).png
  댓글 수: 2
Priyanshu Mishra
Priyanshu Mishra 2020년 1월 28일
Hi Shantanu,
It is not clear from the question, how you plotted this. So, if you can please share your model then we will have better insight into the problem.
SHANTANU KSHIRSAGAR
SHANTANU KSHIRSAGAR 2020년 2월 3일
Sir i am not able to send you the .Slx file i have used. Is there any other way i can send it to you. I have attached image of the simulink file created by me herewith.
What i have did is :
  1. filtered the raw signal from signal builder using a filter
  2. used the min max block to find values and displayed required values(10%,75%,99%....), calculated components manualy {(75%-10%)rise time, (99%-10%)settling time...}
  3. Calculating ripple in the graph using absolute value and
What i want:
  1. To automate importing excel files to Matlab
  2. to find required components by making calculations on each pulse in the filtered signal by using Matlab
  3. to save the calculated components in another excel sheet through Matlab

답변 (1개)

Priyanshu Mishra
Priyanshu Mishra 2020년 1월 31일
Hi Shantanu,
Since I do not have access to your model, what I understood from your question is that you want to find the index value of non zero y values. There is find block in simulink which will give you linear index of each non zero element.
For information you may refer to following example as well

이 질문은 마감되었습니다.

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by