Skip to main content

Questions tagged [system]

Questions on implementation details and how the parts of Mathematica are arranged or configured to work. Avoid this tag for issues that are confined to a specific operating system.

Filter by
Sorted by
Tagged with
0 votes
0 answers
69 views

Mathematica file shows as a Matlab file

i downloaded a package but I'm having problem since the m-file shows as a Matlab code and not Mathematica code, can someone help how to fix this problem. I'm using windows 11 Mathematica 14 i already ...
user1325291's user avatar
2 votes
0 answers
53 views

Why do notebooks by default put symbols in Global context where they can collide with all other notebooks?

This default setting can cause subtle and difficult to find problems, such as inconsistent or incorrect answers when symbols, variables or functions in different notebooks have the same name. I speak ...
NemoX's user avatar
  • 31
2 votes
1 answer
95 views

Fitting data to a system of ODE using ParametricNDSolveValue

I am trying to create the following code to fit data to a system of ODE. ...
shewlong's user avatar
2 votes
2 answers
123 views

Does the kernel attempt to evaluate the output of RandomReal?

I am trying to get my head around the evaluation process. One of the general ideas is that whenever an expression is replaced by another the evaluation restarts in the new expression. I can't imagine ...
Felipe's user avatar
  • 669
-1 votes
2 answers
153 views

Is it possible to pass by reference at the system level?

I am reformulating the question since it was apparently unclear. One of the comments made me find the correct programming language "syntax" for what I wanted to do(Thanks Nasser). In this ...
Felipe's user avatar
  • 669
0 votes
1 answer
145 views

How to solve and analyze a system of 15 equations with 15 variables?

I have a system of $15$ equations and $15$ key variables. Some of the equations are non-linear. Some constant variables in the equation can be equal to numbers to solve the system. I have to find a ...
Moi's user avatar
  • 1
5 votes
1 answer
235 views

List of built-in functions written in Wolfram Language

I was developing a program and noted that Grad[0,{x,y,..}] was taking too much time to return zero vector (I do this many times, so the performance matters to me). ...
Felipe's user avatar
  • 669
0 votes
0 answers
60 views

Is it possible to do something automatically before opening .nb?

Is it possible to do something before opening .nb ? I mean, When the Mathematica kernel(?) receives a command to open the .nb, ...
imida k's user avatar
  • 4,325
1 vote
1 answer
177 views

Put tiny, hidden information on notebook

What is the standard method for inserting tiny, hidden information on notebooks (.nb files) ? From now on, I am planning to insert small, hidden information on every new notebook. And also for some ...
imida k's user avatar
  • 4,325
2 votes
1 answer
94 views

Distinguish .nb that has been saved from new .nb

There may be many ways to distinguish .nb that has been saved from new .nb I found that in NotebookInformation[] may be useful. ...
imida k's user avatar
  • 4,325
1 vote
0 answers
113 views

Save as custom folder in menu bar in 1 step

I found the solution for myself. For some reasons I decided to write the updated content(=solution) at the top. One important reason is.. that you almost don't need to read after the solution. ...
imida k's user avatar
  • 4,325
0 votes
1 answer
105 views

Command to press a button

Under normal circumstances, giving a command to press the Button is stupid. Because we only need to execute the button action of that ...
imida k's user avatar
  • 4,325
0 votes
0 answers
42 views

Button with a certain built-in function makes error [duplicate]

Note that if I execute NotebookSave[InputNotebook[], SystemDialogInput["FileSave", "C:\\myfile.nb"]] will popup ...
imida k's user avatar
  • 4,325
0 votes
0 answers
58 views

Modify save as.. in the menubar (by editing MenuSetup.tr) [duplicate]

I use mathematica V 14.0.0. Is it possible to modify the behavior of Save as.. in the menubar? That is, I want to change the initial full path. We see a window ...
imida k's user avatar
  • 4,325
2 votes
1 answer
111 views

Button : interactive save as + custom initial path

Is it possible to create a button whose action is "save as... in menu bar" with custom initial full path. (custom initial full path is specified by user.) Note that if you click ...
imida k's user avatar
  • 4,325
0 votes
0 answers
53 views

Open multiple instances(=windows) of same .nb? [duplicate]

Is it possible to open multiple instances of the same .nb (on local disk)? First, open c:\test1\test1.nb. After that, can you open another instance(=window) of <...
imida k's user avatar
  • 4,325
1 vote
2 answers
167 views

Change default save path/location of an .nb by code

If I open c:\test1\test1.nb and click Mathematica MenuBar - File - Save as... then a window for Save as... pops up, and the default save path is ...
imida k's user avatar
  • 4,325
1 vote
0 answers
59 views

Initialization Cell evaluation warning : turned off but still [closed]

I have a two .nb files, MyStart.nb and MyDoing.nb in c:\testfolder. My intention is that if ...
imida k's user avatar
  • 4,325
1 vote
0 answers
59 views

Run something as soon as the notebook is open

I want to create a .nb file, say DoSomethingAsSoonAsOpen.nb, such that in any case as soon as DoSomethingAsSoonAsOpen.nb file is ...
imida k's user avatar
  • 4,325
4 votes
1 answer
163 views

How to solve a linear system with a close to zero eigenvalue?

The following is a small part of my research: I got a 4 by 4 matrix $\mathbf{M}$ of rank 3: ...
IntegralLover's user avatar
1 vote
1 answer
78 views

How the function NDSolve works? [closed]

I am trying to numerically solve a system of ordinary differential equations. ...
Viktoriya Kukanova's user avatar
1 vote
1 answer
51 views

Error in using the function NDSolve [closed]

I am trying to numerically solve a system of ordinary differential equations. ...
Viktoriya Kukanova's user avatar
2 votes
1 answer
76 views

Exported function discovery with LibraryFunction

Many internal calls boil down to invocations like LibraryFunction["path/to/library", "funcName" , ...] I'm on a mac, so I can use the ...
Adam's user avatar
  • 3,986
1 vote
1 answer
165 views

How do you Solve a Simultaneous System of Recursions

Consider the following system of simultaneous recursions: r[n] == s[n-1] s[n-2] == r[n-3] I am tring to solve this system (I have given a vastly simplified ...
Russell Jay Hendel's user avatar
0 votes
0 answers
55 views

Solving matrix system of ODE coupled to a non linear PDE (Reynolds)

I am trying to solve the following problem for $p$ (the pressure) between a piston skirt and a cylinder lining. This depends on the secondary motion of top and bottom of the piston skirt $e_t$ and $...
Martin's user avatar
  • 1
1 vote
0 answers
43 views

Problems when solving a system of PDEs with NDSolve

I am currently attempting to solve the following exercise question using NDSolve directly (ref.: Davis, M. E. (2013). Numerical methods and modeling for chemical engineers. Courier Corporation.). ...
Al Mossar's user avatar
7 votes
1 answer
133 views

Get All Discrete Univariate Distributions with Symbolic Parameters

I am trying to get all Discrete Univariate Distributions with symbolic arguments from any place in Wolfram Language system. For example this guide: http://reference.wolfram.com/language/guide/...
Vitaliy Kaurov's user avatar
1 vote
0 answers
61 views

What is the orange color symbol in the new line? [duplicate]

In mathematica v 13.1 , If I type + key of my keyboard in a new cell, I see What is it? Also if I type + twice in a new cell, ...
imida k's user avatar
  • 4,325
4 votes
1 answer
118 views

Notebook magnification - two independent values

It seems there are two independent, equally influential values those control mathematica notebook magnification. Just like volume bars in a certain media player(program) and volume bar in tray bar(...
imida k's user avatar
  • 4,325
3 votes
1 answer
84 views

Parallel computing doesn't use my own settings

To differentiate the conjugate of a function, I used such settings. ...
rpark's user avatar
  • 51
1 vote
1 answer
91 views

Use output of Solve as input of another instance of Solve. How to deal with list of rules

I am a complete novice with Mathematica. The last line of the code that I report is a system of equations I'd like to solve (and I am sure it admits a unique solution): (I don't know how I can convert ...
Matteo Bulgarelli's user avatar
5 votes
0 answers
68 views

Why does Length[Names["System`*"]] give different values on Windows and Linux?

I was just curious about this. Length[Names["System`*"]] Gives slightly different value on Linux and Windows 10. I was wondering why that is as I have ...
Nasser's user avatar
  • 149k
6 votes
1 answer
234 views

Documentation Search : google-like (pokygon -> polygon)

If you search for "pokygon" in google.com, then google automatically fix error, and searches for "polygon". Like google.com, if you search for "pokygon" in mathematica (V ...
imida k's user avatar
  • 4,325
1 vote
0 answers
59 views

Entire process of "hyperlink of paclet" to "location of real file"?

Hyperlink[AAAAA, "paclet:ref/ModularInverse"] AAAAA If I click AAAAA, then a tutorial notebook for ModularInverse.nb ...
imida k's user avatar
  • 4,325
2 votes
1 answer
176 views

How do I know which kernel is handling which .nb file? [closed]

OS : window 10 Mathematica : v12.2 By my mistake, I opened another mathematica kernel, not knowing a kernel was already running. I created a lot of .nb files and worked on them in another kernel, ...
imida k's user avatar
  • 4,325
0 votes
0 answers
23 views

Replacing System` definitions in a context whilst still maintaing acces to them [duplicate]

Given the system operator TensorContract I can define a new one, TensorContractLazy with the attribute ...
user3257842's user avatar
4 votes
4 answers
254 views

Quit the loop if encounter error message

First define length-component error (personal term) : This is an error when we want to get n-th component of a list if n is bigger then the length of the list. For example, ...
imida k's user avatar
  • 4,325
1 vote
1 answer
88 views

Edit UnicodeCharacters.tr-File

I want to install a new package in Mathematica. If I understand the userguide right, I also have to edit the UnicodeCharacters.tr-File by another *.tr-File for example containing 0x2219 [...
Joju127's user avatar
  • 11
1 vote
0 answers
80 views

Error message window upon launching Mathematica

Upon launching Mathematica (v. 11.3) I always get the Messages window with "An unknown menu command token (RebuildHelpIndex)...", as shown below. How do I eliminate that?
David G. Stork's user avatar
1 vote
1 answer
50 views

Temporarily prevent/allow exporting to specific folders

Is it possible to temporarily Q1) prevent exporting to specific folders ? Q2) allow exporting to only specific folders ? Whenever mathematica is about to process ...
imida k's user avatar
  • 4,325
2 votes
2 answers
385 views

Reduce and Solve are taking forever

I am running the following script to solve a system of equations. However, it has been running for 12 hours by now with no output. Is this typical? What is happening? Is there anything wrong with how ...
Morcus's user avatar
  • 309
0 votes
1 answer
101 views

How to use Reduce to solve matrix/vector equation

Suppose $A$ is an $2 \times 2$ matrix of unknowns, and $x$ is an $2 \times 1$ vector of unknowns. How can I use $A$ and $x$ as variables to be solved for in Reduce or FindInstance? example given a ...
Morcus's user avatar
  • 309
0 votes
1 answer
90 views

Solving complicated linear system [closed]

I have this system and I would solve it with mathematica, I try with the instruction Solve but I have an error Please help me.
Espoir's user avatar
  • 1
2 votes
0 answers
77 views

Solving a system of four non-linear differential equation

Could someone help me with my problem? I've been scratching my head over this for a day now. I can't write the right code to solve this non-linear differential equation system: ...
TEMS's user avatar
  • 21
4 votes
2 answers
503 views

Multiplication of one big integer and a long list of integers - fast

This is an example of multiplying a big integer to a list of integers. ...
imida k's user avatar
  • 4,325
0 votes
0 answers
120 views

Plot a system of differential equations

I would like to plot the solutions to the system of ODEs that is written below: ...
Agaph's user avatar
  • 101
2 votes
0 answers
99 views

Read Mac Touch ID In Mathematica

Apple seems to provide some support for developers to authenticate users biometrically with the touch id sensor in the form of a swift API (see here). I'm wondering if there is an easy way to do this ...
user2757771's user avatar
3 votes
3 answers
286 views

Solving for a unique set of solutions

I have the following code: ...
Jan Eerland's user avatar
  • 2,021
2 votes
1 answer
169 views

System of PDE with integration conditions interior of domain

I am trying to solve this system of pde numerically. I am unable to find any method in Mathematica that can handle this problem. The issue is having this integration condition in the domain. I tried ...
mathfun's user avatar
  • 113
3 votes
0 answers
135 views

System`Private`*Entry* and *Valid*, or: How does Mathematica know which expression is which?

Goal The answers to this question are intended to be a place to describe the behavior and mechanism of the undocumented functions of the form System`Private`*Entry* ...
thorimur's user avatar
  • 9,040