Home > front end >  What does the MATLAB *. operator do?
What does the MATLAB *. operator do?

Time:04-05

I see this in a MATLAB m-script, don't know what the *. operator is:

6*.5 = 3
10*.1 = 1
10*.30 = 3

So, what is the *. operator doing?

CodePudding user response:

Usually, the . means element by element operation.

In this case (from syntax highlighting) it looks like a regular decimal point though!

  • Related