Hey i could use a small help with the For loop
Ältere Kommentare anzeigen
for i=1:10
x=input('X wert Point=');
y=input('Y Wert Point=');
K = [x;y];
end
so this is my code and i want to get as answer K1 = [x1;y1] , k2=[x2;y2] ..... etc
it only saves the last 2 numbers i put as K=[a;b],what do i need to change?.
Thank you in advance
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Mathematics finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!