for c = 11:20
if c~=11 && c~=14 && c~=17 && c~=20
% how can I loop through for all values of r, which are r=11,14,17,20????
No products are associated with this question.
Direct link to this answer:
for k = 11:3:20
Or you could use
for k = [11,14,17,20]
MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi
Opportunities for recent engineering grads.
New to MATLAB?
Choose your country to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a location from the following list:
See all countries