Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X
I expressded "mu" = "mu[1", "mu[2"...."mu[17" accoding to each "if" fuction.
I got error continually. error message said me that value need to be vecotor.
But I can't understand
How should we and Prime know what you mean by that?
How could the first ELEMENT of a vector be identical to the VECTOR itself???
Furthermore - as you call CL() vectorized, the argument mu will be a single scalar. So there is no mu[1 and therefore the error.
If the mu at the left and the mu at the right should denote different variables, you will have to rename the argument mu of your function.
thank you for advice