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$. ...
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[]: ...
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 ...
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 ...
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 ...
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 <...
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 ...
42 views

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 ...
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 ...
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 ...