Quantcast
Channel: PTC Community : Discussion List - PTC Mathcad
Viewing all articles
Browse latest Browse all 2936

Function with a range variable argument among others

$
0
0

Hi,

 

Sorry about the messed up previous post.

 

I have a function with six parametters that generates a spectrum with 1024 points.When I supply a single value for all the six parameters, it generates a valid spectrum that I can plot and examine. one of the arguments is standoff distance, I want to get spectra at different standoff distances. Therefore, I supplied distance parameter as a range variable thinking that all calculations for one distance  will be repeated for other distance values. The function output has correct number of spectra, each with 1024 points. But the spectral values are all the same, Can someone help me understand what is going on? I have pasted below a screenshot of values.SpectrumGeneration.PNG

Thanks,

Arjun


Viewing all articles
Browse latest Browse all 2936

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>