how do i correct a Vector Function indices compatibility Error?
12 次查看(过去 30 天)
显示 更早的评论
miroslava del carmen villanueva castillo
2021-8-15
评论: miroslava del carmen villanueva castillo
2021-8-15
Hi, i keep getting this error "Unable to perform assignment because the indices on the left side are not compatible
with the size of the right side" when i run the following, how can i fix it?
t = 0:0.1:10;
n = length(t);
for i = 1:n
F(i)= t
end
0 个评论
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Shifting and Sorting Matrices 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!