Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
4
votes
5
answers
297
views
Table of unequal sequence
from the following table we have,
Table[i,{i,0,4,1}]
we (0,1,2,3,4)
can we have somehow
(0,2,3,4)
?
a formula Table[i-....,{i,....,...}] …
2
votes
1
answer
47
views
Table with an angle | rotate the co-ordintae
I have the following,
Flatten[MapAt[Reverse, 2]@
Table[{i, j}, {i, 0, 10, 10}, {j, 0, 90, 90}], 1]
that gives,
{{0, 0}, {0, 90}, {10, 90}, {10, 0}}
which are basically a rectangle coordinates, and shape …
0
votes
1
answer
77
views
Sorting Table in a proper order: replacing 3rd and 4th [closed]
I can generate a Table of Following,
Flatten[Table[{i, j}, {i, 1, 2.25, 1.25}, {j, 15, 12, -3}], 1]
and the output is
{{1., 15}, {1., 12}, {2.25, 15}, {2.25, 12}}
However, how can I get the following …
2
votes
1
answer
79
views
Sequence of lists
Let's say I have the following table,
y=40;
b=Flatten[Table[{i, j}, {i, 1, 2.25, 1.25}, {j, y - 5, y - 8, -3}], 1]
then c is equal to,
c = b - ConstantArray[{0, 8}, 4]
and the out put is
{{1., 27}, { … again, y is >=4, which is fine,
and f equal to
f = e - ConstantArray[{0, 8}, 4]
the output is
{{1., 3}, {1., 0}, {2.25, 3}, {2.25, 0}}
so now in f, y less than 4, so it is not fine,
How can I make a table …
4
votes
5
answers
365
views
Table with a sequence:
I can generate a table:
Table[{i, If[i == 4, 1, i + 1]}, {i, 4}]
and the output is
{{1, 2}, {2, 3}, {3, 4}, {4, 1}}
however, if I want to make i>4 lets say 12
Table[{i, If[i == 4, 1, i + 1]}, {i, 12} …
1
vote
0
answers
91
views
Selecting only one out of many: Differential equation
ParametricNDSolveValue[{ele[E2] == 0, g[0] == 0, g[L] == 0},
g, {z, 0, L}, {E2, gp0},
Method ->
"BoundaryValues" -> {"Shooting",
"StartingInitialConditions" -> {g[0] == 0, g'[0] == gp0}}]
Plot[Evaluate@Table … I just want to select the first gp0 for E2=1 and E2=2 at which the graphs is entirely above the x axis.
such as
aa=Evaluate[Table[pnd[E2, gp0][z], {gp0, 0, 15, 0.05}, {E2, 0, 2}],
{z, 0, L}]
For E2= …
0
votes
2
answers
132
views
Selecting the specific values from a table and saving in a table:
I tried to run a if statement on the
aa=Evaluate[Table[pnd[E2, gp0][z], {gp0, 0, 15, 0.05}, {E2, 0, 2}],
{z, 0, L}]
such that for aa >=0 from {z=0,L} it can store in an another table. … I want the data series, in a table, for only those curves which lie entirely above the x-axis …