Dear matlab expert,
I have one small query regarding as in title mentioned ''Desired input generation". I am trying it since long with excel however it is manuel data analysis and taking so much time. It would be great if anyone can help me with matlab to do that.
Problem: I have a input signal vector (red) and measured output data vector (blue). i have expected output data vector (green) which i want to have by changing input signal parameters.
Currently, as shown in figure, red is input (projected), green is desired output and blue is measured output.With excel i am changing input parameters (such as with gauss sinus mathamtical formula) in that manner so that i can have desired output. Attached are my all data vectors.
My methodology is like: i am comparing acceleration (blue and green) with red (i have projected red here).
Input red curve i am trying to match to the max acceleration peak (measured data) point as shown in figure too.
- first trial i select the same points of first half acceleration which match to the input red curve. and got good result with measurement
It works well but i want to make it automatic. I would be very thankful to you to support me.
Furthermore, i used in excel following mathematical equation:
Input voltage sinus: U(t)=∑i(Ai*exp(-(t-ti)^2/D^2)) i=1,2,3 [V] vs t [s] [m/s2] red curve
I have sampling rate for input: 8000 Hz.
and for measured output: 10000 Hz
thank you