Linked Questions

1
vote
1answer
28 views

Calculating a parametrized maximum, as a function of the parameter

Suppose I have the following maximization problem: Maximize[{x^2-a,0<=x<=a},{x}] The result is a function of $a$: I want to extract this function of $a$. ...
0
votes
0answers
46 views

Outputting a concatenation of a string and a variable within a loop [duplicate]

In this question, it was mentioned that one can output the concatenation of a string and a variable by using StringForm[]: ...
0
votes
0answers
46 views

coordinate system problem [duplicate]

I had an issue about the coordinate system of mathematica. I have a {800,600} image acquired with a camera. The projection matrix P of the camera is calculated using the calibration task. Now, when I ...
0
votes
1answer
35 views

I need to extract data from a multi-valued functions and interpolate them into separate single values functions

The graphed data look like this. I need to extract the data for each curve individually and use Interpolation to create a differentiable function for each curve. Can you show how to do this? I will ...
0
votes
1answer
45 views

Why sum of two simple matrix is not in correct way? [closed]

clear[a]; a = List[{0, 1, 2}, {1, 2, 3}, {2, 3, 4}] a // MatrixForm; M2 = Transpose[a] // MatrixForm; a + M2 I am trying to run this code for ...
1
vote
0answers
45 views

How to Plot with different styles different InterpolatingFunction [duplicate]

Im sorry for this question I'm new and it may be a stupid question, but I can't find nothing specific. I have these differential equations and NDSolve give me <...
0
votes
1answer
34 views

NMaxValue with complex interpolation

I've encountered a very strange problem. I'm trying to find a minimum of a real part (or absolute value, or really any possible real-valued expression) of some complex function, which was previously ...
1
vote
0answers
42 views

Possible bug with Testing Notebook & messages x::y where x has an OwnValue

I think this should be considered a bug (or at least an inconvenience) and should be reported: Say you have some code generating the $RecursionLimit::reclim2 ...
1
vote
1answer
19 views

RecursionLimit errors on Manipulate a DensityPlot expression

I am trying to do an interactive visualization of a very simple neural network (inspired by tensorflow playground): ...
0
votes
0answers
37 views

Matrix Vector multiplication [duplicate]

I have a rather simple question which surprisingly i could find the answer theres a matrix $U $ whith is $4*4$ and a vector $A$ which is $4*1$ and when I wand to multiply them by $U.A$ operator i get ...
1
vote
0answers
37 views

Two point Gaussian quadrature [closed]

I am trying to calculate a two point Gaussian Quadrature on the interval [0,4] and the function f_n = (x^n) + 2 x - 3 for ...
1
vote
1answer
46 views

Learning Shortcut Syntax - Newbie Question [duplicate]

I'm learning Mathematica in order to work with Linear Algebra. I found a good post here about matrix manipulation, but realized that the author used conventions that I couldn't find documented in the ...
2
votes
0answers
34 views

How to modify a global large array in a function [duplicate]

Assuming variable x is a long list, which needs 1GB memory to store. I want to modify x in a function, such as let x[[10]]=1, using ...
0
votes
0answers
33 views

ComposeList not building the expected list of compositions

Starting with: ...
0
votes
0answers
33 views

Is it possible to specify absolute locations in Print to align the output?

Just wondering about making the output a little neater. For example: ...

15 30 50 per page