在MATLAB中的一行中声明和初始化变量,而不使用数组或向量

Wus*_*uhn 3 matlab

a = 0;
b = 0;
c = 0;
Run Code Online (Sandbox Code Playgroud)

我可以在不使用数组/ vecor的情况下在一个语句中执行此操作吗?

mac*_*uff 9

我会尝试使用该deal功能.

http://www.mathworks.com/help/matlab/ref/deal.html

      [a,b,c] = deal(0,0,0);
Run Code Online (Sandbox Code Playgroud)

还有其他方法,但这是一个很好的学习功能.