Linked Questions

14 votes
2 answers
6k views

Modifying parameters: Set::setps in the part assignment is not a symbol [duplicate]

Ok, this will probably be a silly question, but I can't get my head around it. I'm making a simple module that, given a list and two integers, will swap the position of the elements in the list.(...
Erdorath's user avatar
  • 243
5 votes
5 answers
359 views

How can I get rid of the parenthesis in Mathematica? [duplicate]

I am new in mathematica , I am trying to solve an equation and show a graph of the solution and I am getting empty graph because of the additional Parenthesis I get . for example I want to get ...
maya's user avatar
  • 147
11 votes
1 answer
17k views

Difference between = and := [duplicate]

I wanted to know the difference between two operators: = and := I couldn't find the ":=" operator on the list at https://reference.wolfram.com/language/tutorial/Operators.html Can someone help? ...
André's user avatar
  • 111
9 votes
1 answer
1k views

Memory not freed after running Clear when using a Table [duplicate]

When I'm creating large lists with Table I see the memory footprint increasing. ...
Lou's user avatar
  • 3,812
1 vote
2 answers
13k views

"not a list of numbers" and "cannot be used for replacing " [duplicate]

I am trying to plot a function which is based on the solution of some equation; I could get the correct figure but only after lots of warnings are printed out. The following is a minimum version of ...
Hao Wang's user avatar
  • 143
6 votes
5 answers
294 views

On reimplementing the Select function [duplicate]

I am working through the course Programming Paradigms via Mathematica. One of the exercises asks that you construct a function that mimics Select,even with three ...
Clif's user avatar
  • 687
7 votes
1 answer
1k views

Discrepancy between Matlab and Mathematica Fourier parameters [duplicate]

MATLAB and Mathematica have different FFT normalization parameters. This is easy to change in Mathematica with the FourierParameters -> argument, but anything ...
vexxxxxxxy's user avatar
1 vote
1 answer
7k views

Append[] is not working for empty list [duplicate]

I am trying to create an empty list and add an element but the list is not being populated. My code ...
Omar Shehab's user avatar
6 votes
1 answer
685 views

Fourier in Mathematica different from octave [duplicate]

First I create a table of sin(x) within 0, 10 ...
Neel Basu's user avatar
  • 961
2 votes
2 answers
2k views

How to define a function based on the output of DSolve? [duplicate]

I would like to define a function based on the output of the following DSolve call: ...
JLagana's user avatar
  • 621
3 votes
2 answers
249 views

Sorting and keeping the main format of list numbers [duplicate]

I have a list with these elements: list={1/2 (1 + Sqrt[5]), 1, 1, 1/2 (1 - Sqrt[5]), 0}; I want to sort them with ...
Unbelievable's user avatar
  • 4,787
3 votes
2 answers
1k views

explanation of #1 and #2 [duplicate]

EDIT: This was marked as a possible duplicate. While the referenced other question does talk about slots, my question is more about how to understand how multiple slots (#1 and #2) work. Also, my ...
Mitchell Kaplan's user avatar
3 votes
2 answers
1k views

Find minimum value of function which calls NDsolve [duplicate]

I have defined a function which takes a coefficient for a differential equation as an argument, solves the differential equation with NDSolve, and returns the value of the solution at time t=10. I can ...
CesiumLifeJacket's user avatar
2 votes
2 answers
262 views

ImageData reverses the order of the row of an Image [duplicate]

Could someone convince me what is the utility of doing a function like ImageData that reverses the order of rows in an image? Why was it coded like this? Why does ...
BetterEnglish's user avatar
3 votes
2 answers
560 views

Maximizing a function defined using NIntegrate [duplicate]

I have two functions fn[x,y,z] which is in integral form and I have another function gn[x,y] which is also in integral form ...
Frey's user avatar
  • 325

15 30 50 per page
1
2 3 4 5
71