I am not sure about the declaration of 4 variables..
1 view (last 30 days)
Seyedali Mirjalili on 2 Mar 2018
Edited: Seyedali Mirjalili on 2 Mar 2018
In Matlab, you do not declare a variable. However, if you ask how to initialise four variables, here is the code:
var1 = 0
var2 = 0
var3 = 0
var4 = 0
The equal signs is an assignment statement. You can read the getting started tutorials for more info. Good luck.