How to create a 2D table with varying step?How to create a Table of Tables with indexed variablesHow can I create a new tables out of a table and plot itCreate a table with inline conditionsA problem involving classification of dataCreate tree association using tableTable from grouping an association by valueHow to create a table of tables with different table lengths?Table with the logarithmic stepLinearly change the step size in a tableTable with varying step
Is it possible to spoof an IP address to an exact number?
Hiding a solar system in a nebula
What does "another" mean in this case?
Upload csv into QGIS
Did Stalin kill all Soviet officers involved in the Winter War?
Should I cheat if the majority does it?
When should we use dependency injection (C#)
Should I warn my boss I might take sick leave
What is meaning of 4 letter acronyms in Roman names like Titus Flavius T. f. T. n. Sabinus?
Puzzling Knight has a Message for all- Especially Newcomers
What caused the flashes in the video footage of Chernobyl?
Why would a propellor have blades of different lengths?
Is it possible that Curiosity measured its own methane or failed doing the spectrometry?
Has there ever been a cold war other than between the U.S. and the U.S.S.R.?
What could a Medieval society do with excess animal blood?
How to travel between two stationary worlds in the least amount of time? (time dilation)
Is my background sufficient to start Quantum Computing
How to create a 2D table with varying step?
What is the right way to query an I2C device from an interrupt service routine?
PhD: When to quit and move on?
Term for a character that only exists to be talked to
How did sloshing prevent the Apollo Service Module from moving safely away from the Command Module and how was this fixed?
Where is read command?
What can a novel do that film and TV cannot?
How to create a 2D table with varying step?
How to create a Table of Tables with indexed variablesHow can I create a new tables out of a table and plot itCreate a table with inline conditionsA problem involving classification of dataCreate tree association using tableTable from grouping an association by valueHow to create a table of tables with different table lengths?Table with the logarithmic stepLinearly change the step size in a tableTable with varying step
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
$begingroup$
I would like to produce a table with 2 coordinates, where a step for one coordinate depends on the value of another one. I tried to do this in the following way:
Step[j_] := Association[0.01 -> 5, 0.03 -> 10]
Table1 = Table[j, k, j, 0.01, 0.03, 0.02, k, 1, 100, Step[j]]
but I failed. Could you please show me how to do this?
table syntax
$endgroup$
add a comment |
$begingroup$
I would like to produce a table with 2 coordinates, where a step for one coordinate depends on the value of another one. I tried to do this in the following way:
Step[j_] := Association[0.01 -> 5, 0.03 -> 10]
Table1 = Table[j, k, j, 0.01, 0.03, 0.02, k, 1, 100, Step[j]]
but I failed. Could you please show me how to do this?
table syntax
$endgroup$
2
$begingroup$
Also:Table[j, k, j, 0.01, 0.03, 0.02, k, 1, 50, If[j == 0.01, 5, 10]]
$endgroup$
– Michael E2
7 hours ago
add a comment |
$begingroup$
I would like to produce a table with 2 coordinates, where a step for one coordinate depends on the value of another one. I tried to do this in the following way:
Step[j_] := Association[0.01 -> 5, 0.03 -> 10]
Table1 = Table[j, k, j, 0.01, 0.03, 0.02, k, 1, 100, Step[j]]
but I failed. Could you please show me how to do this?
table syntax
$endgroup$
I would like to produce a table with 2 coordinates, where a step for one coordinate depends on the value of another one. I tried to do this in the following way:
Step[j_] := Association[0.01 -> 5, 0.03 -> 10]
Table1 = Table[j, k, j, 0.01, 0.03, 0.02, k, 1, 100, Step[j]]
but I failed. Could you please show me how to do this?
table syntax
table syntax
asked 8 hours ago
John TaylorJohn Taylor
8964 silver badges11 bronze badges
8964 silver badges11 bronze badges
2
$begingroup$
Also:Table[j, k, j, 0.01, 0.03, 0.02, k, 1, 50, If[j == 0.01, 5, 10]]
$endgroup$
– Michael E2
7 hours ago
add a comment |
2
$begingroup$
Also:Table[j, k, j, 0.01, 0.03, 0.02, k, 1, 50, If[j == 0.01, 5, 10]]
$endgroup$
– Michael E2
7 hours ago
2
2
$begingroup$
Also:
Table[j, k, j, 0.01, 0.03, 0.02, k, 1, 50, If[j == 0.01, 5, 10]]
$endgroup$
– Michael E2
7 hours ago
$begingroup$
Also:
Table[j, k, j, 0.01, 0.03, 0.02, k, 1, 50, If[j == 0.01, 5, 10]]
$endgroup$
– Michael E2
7 hours ago
add a comment |
1 Answer
1
active
oldest
votes
$begingroup$
step = Association[0.01 -> 5, 0.03 -> 10];
Table1 = Table[j, k, j, 0.01, 0.03, 0.02, k, 1, 50, step[j]];
TableForm[Table1,
TableDirections -> Row, Row,
TableHeadings -> None, None, "j", "k"]
$endgroup$
$begingroup$
Thank you @MichaelE2. Removed it.
$endgroup$
– kglr
7 hours ago
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "387"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmathematica.stackexchange.com%2fquestions%2f201329%2fhow-to-create-a-2d-table-with-varying-step%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
$begingroup$
step = Association[0.01 -> 5, 0.03 -> 10];
Table1 = Table[j, k, j, 0.01, 0.03, 0.02, k, 1, 50, step[j]];
TableForm[Table1,
TableDirections -> Row, Row,
TableHeadings -> None, None, "j", "k"]
$endgroup$
$begingroup$
Thank you @MichaelE2. Removed it.
$endgroup$
– kglr
7 hours ago
add a comment |
$begingroup$
step = Association[0.01 -> 5, 0.03 -> 10];
Table1 = Table[j, k, j, 0.01, 0.03, 0.02, k, 1, 50, step[j]];
TableForm[Table1,
TableDirections -> Row, Row,
TableHeadings -> None, None, "j", "k"]
$endgroup$
$begingroup$
Thank you @MichaelE2. Removed it.
$endgroup$
– kglr
7 hours ago
add a comment |
$begingroup$
step = Association[0.01 -> 5, 0.03 -> 10];
Table1 = Table[j, k, j, 0.01, 0.03, 0.02, k, 1, 50, step[j]];
TableForm[Table1,
TableDirections -> Row, Row,
TableHeadings -> None, None, "j", "k"]
$endgroup$
step = Association[0.01 -> 5, 0.03 -> 10];
Table1 = Table[j, k, j, 0.01, 0.03, 0.02, k, 1, 50, step[j]];
TableForm[Table1,
TableDirections -> Row, Row,
TableHeadings -> None, None, "j", "k"]
edited 7 hours ago
answered 8 hours ago
kglrkglr
202k10 gold badges230 silver badges461 bronze badges
202k10 gold badges230 silver badges461 bronze badges
$begingroup$
Thank you @MichaelE2. Removed it.
$endgroup$
– kglr
7 hours ago
add a comment |
$begingroup$
Thank you @MichaelE2. Removed it.
$endgroup$
– kglr
7 hours ago
$begingroup$
Thank you @MichaelE2. Removed it.
$endgroup$
– kglr
7 hours ago
$begingroup$
Thank you @MichaelE2. Removed it.
$endgroup$
– kglr
7 hours ago
add a comment |
Thanks for contributing an answer to Mathematica Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
Use MathJax to format equations. MathJax reference.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmathematica.stackexchange.com%2fquestions%2f201329%2fhow-to-create-a-2d-table-with-varying-step%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
2
$begingroup$
Also:
Table[j, k, j, 0.01, 0.03, 0.02, k, 1, 50, If[j == 0.01, 5, 10]]
$endgroup$
– Michael E2
7 hours ago