Feeds
提问
I want to use a for loop inside a function, where the for loop contains a subfuction. Each loop must store the variable value and make a matrix of all values, but I get 0s :(
function [a] = Main(Coordinates) a=5; for n=1:a Coordinates=3+n; a= test(n,Coordinates) end en...
3 years 前 | 1 个回答 | 0