C++ to MATLAB: for loops

2 次查看(过去 30 天)
Hans123
Hans123 2020-6-15
currently working on converting C++ to MATLAB not proficient in C++ and this is a for loop
Help appreciated
for(offx=0;offx<=1;offx++){ %C++
...
end
%what's the equivalent?

采纳的回答

madhan ravi
madhan ravi 2020-6-15
for offx = 0:1 % simplicity of MATLAB
...
end

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 MATLAB 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by