1 Pages (4 items)
Creating stack of arbitrary size? - i.e. stack(1,2,3,4,...,n) - Messages
#1 Posted: 8/3/2022 7:16:39 PM
Anyone know what functions I should combine to produce the custom function I need? I need it to output the following: f(g(x),x,1,n)=stack(g(1),g(2),g(3),g(4),...,g(n-1),g(n)) for any given n value, but I can't seem to find the proper combination of functions and operators to do it.
#2 Posted: 8/4/2022 3:10:16 AM
The first idea is to use a loop.
One also could use a loop to design the string representation of a multi-argument stack command and then convert it to an expression with str2num().
Yet I guess this would not make the thing more comprehensible.
Blatt6.sm (3 KiB) downloaded 40 time(s).

One also could use a loop to design the string representation of a multi-argument stack command and then convert it to an expression with str2num().
Yet I guess this would not make the thing more comprehensible.
Blatt6.sm (3 KiB) downloaded 40 time(s).
Martin Kraska
Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
#3 Posted: 8/4/2022 3:24:10 AM
#4 Posted: 8/4/2022 7:54:16 AM
WroteAnyone know what functions I should combine to produce the custom function I need ?
The all thing is in there: create the data set you need.
NestRow(data,s,r,k) will stack pairwise for plotting the project.
Cheers ... Jean.
Page15 ConnectNest.sm (29 KiB) downloaded 46 time(s).
1 Pages (4 items)
-
New Posts
-
No New Posts