06-14-2016 05:24 AM
Hi,
I am new in this field. I am getting a problem regarding to my vi and I need help. I have read the excel data sheet in the block diagram and smoothed the X and Y values by SG filater. So my problem starts from here-
1. First I want to take derivatives of Y with respect to X . For this purpose I used the derivative function but I am not sure whether this is correct or not.
2. Next I want to plot the derivative of Y with respect to X and to find the X value for the maxima of dY/dX.
Any help will be appreciated.
Thanks-
Solved! Go to Solution.
06-14-2016 05:30 AM
@bdcpp08 wrote:Hi,
I am new in this field. I am getting a problem regarding to my vi and I need help. I have read the excel data sheet in the block diagram and smoothed the X and Y values by SG filater. So my problem starts from here-
1. First I want to take derivatives of Y with respect to X . For this purpose I used the derivative function but I am not sure whether this is correct or not.
2. Next I want to plot the derivative of Y with respect to X and to find the X value for the maxima of dY/dX.
Any help will be appreciated.
Thanks-
can you provide exact requirement on whats your input and what is your expected output "Title and contents seems mismatching"
06-14-2016 05:53 AM
use this sorting vi so that u can get the maximum of one value with respect to the other.......
There are two ways to tell s thanks in forums : either give Kudos or Marked Solutions
06-14-2016 06:07 AM
Hi,
My inputs are voltage (V) and current (I) data which is in a excel spreadsheet and my required output is the value of voltage corresponding the maxima (as shown in the picture below) of the first derivative of current with respect to the voltage (dI/dV).
06-14-2016 06:11 AM
@Rizwan00 wrote:use this sorting vi so that u can get the maximum of one value with respect to the other.......
There are two ways to tell s thanks in forums : either give Kudos or Marked Solutions
are you trying to sort using some order (maximum to minimum) or trying to find the elemnt with maximum value in an array?
06-14-2016 06:11 AM - edited 06-14-2016 06:13 AM
use this vi... or else share excel data i will make a entire vi for ur case
There are two ways to tell s thanks in forums : either give Kudos or Marked Solutions
06-14-2016 06:13 AM
i will sort and find maxima or minima
06-14-2016 06:19 AM
@bdcpp08 wrote:Hi,
My inputs are voltage (V) and current (I) data which is in a excel spreadsheet and my required output is the value of voltage corresponding the maxima (as shown in the picture below) of the first derivative of current with respect to the voltage (dI/dV).
If my understanding is correct you can do this simple methods
From the 2D Array Extract dI/dv and Voltage Value
USe Array Min Max Function and Get the Index of Maximum value for dI/dt and use the same index in voltage array which will give you the maximum voltage value
06-14-2016 06:21 AM
ya this will also help you....
There are two ways to tell s thanks in forums : either give Kudos or Marked Solutions