What does the dot mean? I have this formula: (k < 0.)
Show older comments
Greeintgs,
I am trying to understand an algorithm made by someone else. In an S-Function at some line I have the following:
double k = 0;
....
k = input2[0] - input3[0];
....
else if ((input1[0] < parameter1[0]) && (k < 0.))
Every input and parameter in my S-Function is a 1 row element ( vector with 1 element ).
I know that putting a dot means that you manipulate the elements of a vector individually. The things that confuses me is: k isn't a vector with multiple elements.
If k isn't a vector with multiple elements. Is there any purpose of the element wise comparison?
Accepted Answer
More Answers (0)
Categories
Find more on Logical in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!