Community Profile

photo

Nikolas Katsantonis


Last seen: 1 day ago Active since 2022

Statistics

  • Thankful Level 1

View badges

Content Feed

View by

Question


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...

6 months ago | 1 answer | 0

1

answer