|
|
|
|
|
by shstalwart
2626 days ago
|
|
I guess we'll have to agree to disagree then. I too have coded up a lot algorithms from academic papers. In my mind, yk = C * xk + D * uk is a lot clearer than position_at_time_k = output_matrix * state_at_time_k + feedthrough_matrix * input_at_time_k. The first is an idiom. The second is not. |
|
But as a counterpoint, I only know what you meant by the first expression because I read the second expression.
I actually agree with you in large part, that short variable names can have more meaning within an established set of idioms because they allow you to parse whole statements at once. But there’s a trade-off involved, because mathematics can take symbology further than that’s useful.
For example:
So it often comes down to a matter of taste.