Community Profile

photo

Nikolas Katsantonis


Last seen: 9 månader ago Active since 2022

Followers: 0   Following: 0

Statistics

  • Thankful Level 1

View badges

Feeds

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

nästan 2 år ago | 1 answer | 0

1

answer