TransWikia.com
  1. All Categories
  2. Mathematica

Mathematica : Recent Questions and Answers (Page 2)

Find answers to your questions about Mathematica or help others by answering their Mathematica questions.

How to copy Mathematica code with subindices in a readable way?

I'm trying to post some Mathematica code that makes heavy use of indices on a blog, and when copying and pasting I end up with unreadable stuff likeCos[Subscript[[Theta], 0]...

Asked on 12/31/2021

0 answer

Avoiding CopyTensor of large array in Compiled functions

After reading about how to avoid the CopyTensor in various cases I still do not understand the optimal answer for the Fast-Hadamard transform below (CopyTensor appears in line 4 of...

Asked on 12/28/2021

1 answer

How to write this piece of code without AppendTo

I am trying to fill a vector starting from component 11 from another vector, I use this code:Do[AppendTo[xp, x[[i + 10]]], {i, 1, 99982}]How can I fill xp without...

Asked on 12/28/2021

1 answer

4X4 matrix of distinct cubed integers with identical row and column sums

I wrote the following code:ClearAll[findMat]findMat = Module[{csums = ConstantArray[#, 4], mats = Select[DuplicateFreeQ[Join @@ #] &]@ ...

Asked on 12/28/2021 by J.W.L. Jan Eerland

2 answer

Integrodifferential equation solving

I am trying to solve a integrodifferential equation in Mathematica, i.e., I'm trying to find a way to evaluate the code below, which isn't yet supported in mathematica, as far...

Asked on 12/28/2021

0 answer

Limiting transfer function of PID to upper and lower bounds

I have a question about Limiting the output of a transfer function in my system model.(Im fairly new to control theory and control systems) I have a model where...

Asked on 12/28/2021

2 answer

How do you stop a For loop from progressing until a condition has been met?

I have a matrix and the generation of a number between 0 and 1 (this number will act as a probability):matrix1 = {{1, 0, 7, 5}, {0, 1, 8,...

Asked on 12/28/2021

0 answer

Cannot open Utilities 'FilterOptions'

I'm trying to run a code like this in Mathematica:(* initialize everything *)ClearAll["Global`*"]Remove["Global`*"](* all *nb are in $WorkingDirectory *)$WorkingDirectory = "/Users/U1/Workspace/BCOASMBH/Core/Fortran/"(* Load Assumptions and format.m *)Get[FileNameJoin[{$WorkingDirectory, "TemplateForHamiltonian.nb"}]];However, I...

Asked on 12/28/2021

0 answer

Why does Mathematica import data with quotation?

I am importing data from ParallelTable as dat file and then export it again for visualization. However, the exported data contains a quotation " " and can not use...

Asked on 12/28/2021

1 answer

Need to verify strange behavior with Product[]

I'm running 12.1.0.0 on MacOS X x86 (64-bit). The expressionProduct[1 - 1/n^5, {n, 2, Infinity}]yields 0 as output, which is clearly false. Wolfram Alpha...

Asked on 12/26/2021

1 answer

Warning: Undefined variable $additional_loop in /home/w/11tr/wp-content/themes/dazfix/category.php on line 78

Warning: Attempt to read property "max_num_pages" on null in /home/w/11tr/wp-content/themes/dazfix/category.php on line 78

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP