Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

how to vectorized this loop?

2 Ansichten (letzte 30 Tage)
nelson
nelson am 10 Okt. 2017
Geschlossen: MATLAB Answer Bot am 20 Aug. 2021
for k=1:0.5:10;
for a=1:0.5:10;
nump(i,:) =k*a;
denp(i,:) =[1 a 0];
i=i+1;
end
end
  3 Kommentare
Jan
Jan am 10 Okt. 2017
This is very similar to your former question (link posted by Per Isakson). You can apply the same methods here also. If you have problems with this, please post what you have tried so far.

Antworten (0)

Diese Frage ist geschlossen.

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by