请问冒号表达式左右两端不能是变量吗?。
显示 更早的评论
xda1=r:0.001:100;其中为我算出的数值81,7.不过带入这个式子中结果??? Error using ==> colon
Colon operands must be real scalars.
Error in ==> csgji_nhyd>pushbutton29_Callback at 460
xda1=r:0.001:(n(m)+20);
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 MATLAB 快速入门 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!