@Locust wrote:
I need to define a tuple of n elements ie (1,2,3,…,n)
where n is the argument of function f as belowfunction f(n)
…None of the following work
x=(1,2,3,…,n)
x=(i, i=1:n)
…
end
Posts: 3
Participants: 2
@Locust wrote:
I need to define a tuple of n elements ie (1,2,3,…,n)
where n is the argument of function f as belowfunction f(n)
…None of the following work
x=(1,2,3,…,n)
x=(i, i=1:n)
…
end
Posts: 3
Participants: 2