11-15-2012 10:10 AM
Hi
I just need to draw 2 signals at same time with index x range [-1.....1] with 0.1 step
the first signal is tan hyperbolic(x) function and the second signal is my function(x)
I think that I need a converter !!
regards
m,s
Solved! Go to Solution.
11-15-2012 10:50 AM
First of all, there's a tanh(x) function in straight LabVIEW code. Look in the Mathematics->Elementary & Special Functions->Hyperbolic palette.
Other random things:
11-15-2012 02:56 PM
I did some change to design as you said crossrulz
the tanh has been drawn OK
but my function its input always ::21#;; why this?? This make my compactor output for entire loop true
I just need range of x -1 to 1 that enter my function
for each of value of x must stay in loop 2000 times then out from my function that all what i want to do
can any suggestion
regards
11-16-2012 06:32 AM
Your VI did not change. Did you upload the wrong copy? Didn't save before uploading?
As far as the "::21#", is this with highlight execution that you are seeing this? That would make sense. The highlight execution shows the size of the array, not the data in it.
Each value must iterate 2000 times?
11-16-2012 10:52 AM
dear:
Your VI did not change. Did you upload the wrong copy? Didn't save before uploading?
yes i uploading another one here that is simple
....................................................................
As far as the "::21#", is this with highlight execution that you are seeing this?
i did not know that.
...................................................................
Each value must iterate 2000 times?
yes every value of x must enter the loop 2000 times then go to graph
i want to compare the result of my function with tanh function with range of input from -1 to 1 by use graph
thank in advace
11-16-2012 12:18 PM - edited 11-16-2012 12:19 PM
I cleaned up your code some, eliminating some duplicate code, initializing the feedback nodes when the loop starts.
I don't understand the purpose of the random number. I would think that would cause nothing but error.
11-16-2012 01:42 PM
Dear crossrulz
thank a lot.
My is function based on markov chain so with out this random the function will not work
I expect this error .
I want to draw the ideal tanh with my function at same time to see the error like below with x
11-16-2012 01:59 PM - edited 11-16-2012 02:00 PM
mangood wrote:I want to draw the ideal tanh with my function at same time to see the error like below with x
Something like this? I simply just called the VI made easier in a FOR loop, autoindexed the outputs, and created the graph plots.
11-16-2012 02:14 PM
okkkkkkkkkk
take this from me for your help