matlab语句中总提示括号缺失或不配对,但看不出来
有这个matlab文档中:ifframe==1[pca_basis,pca_variances,~]=svd(cov_matrix);else[pca_basis,pca...
有这个matlab文档中:
if frame == 1
[pca_basis, pca_variances, ~] = svd(cov_matrix);
else
[pca_basis, pca_variances, ~] = svd((1 - compression_learning_rate) * old_cov_matrix + compression_learning_rate * cov_matrix);
end
运行时总提示这句中[pca_basis, pca_variances, ~] = svd(cov_matrix);的~]部分的Unbalanced or misused parentheses or brackets.说是括号不配对或缺失,但是看不出问题啊,请大虾指点! 展开
if frame == 1
[pca_basis, pca_variances, ~] = svd(cov_matrix);
else
[pca_basis, pca_variances, ~] = svd((1 - compression_learning_rate) * old_cov_matrix + compression_learning_rate * cov_matrix);
end
运行时总提示这句中[pca_basis, pca_variances, ~] = svd(cov_matrix);的~]部分的Unbalanced or misused parentheses or brackets.说是括号不配对或缺失,但是看不出问题啊,请大虾指点! 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询