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

Range Variable Vector as a Function Problem

$
0
0

Hi,

I'm defining a range variable L which goes from 20cm to 100cm with a step of 20cm.

This "vector" has 5 rows, so i defined another range variable "k" which goes from 0 to 4.

Then I define this time a real vector with one column and 5 rows, and manually insert L[0 + e , L[1 + e , ... and I defined this as a function of "e". This worked.

BUT if i try to automatically create this vector, this doesn't work.

I mean, I write : (R(e))[k := L[k + e , and the error "A Name is Required".

 

The Program is attached.

 

This is a simplified model of what i need to create. Because my real "k" doesn't go from 0 to 4, but from 0 to 1400 since my real L is much larger. But i can't write manually each row of the vector R(e).

 

Someone knows how to fix it?

 

Thanks in advance


Viewing all articles
Browse latest Browse all 2936

Trending Articles



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