Feeds
提问
How to approach solutions in integration problems? How to overcome matrix dimensions problems in complex integrand? Calculating Ion Beam Range from Stopping Power (following ICRU Report 49 CSDA discussion)
Trying to calculate the integral mentioned in ICRU Report 49, continuous-slowing-down approximation range being the integral of ...
9 years 前 | 1 个回答 | 0
1
个回答提问
Cannot call function
Simple Problem: Cannot call function; Function function? Need to use function handles? Error: "Undefined function or method ... ...
12 years 前 | 2 个回答 | 0
2
个回答提问
How do we plot repetitive items simply? Can a loop and eval be used, for example? How d'you nest a string within a string?
Note the repetitive nature of the following script. Isn't it possible code this more simply using a loop of some kind, and perha...
13 years 前 | 1 个回答 | 0
1
个回答提问
How do I determine the length of the input vector to quad?
I am trying to use quad instead of sum to obtain a more realistic model. The function for quad is of the form f(E) * exp(-con...
13 years 前 | 1 个回答 | 0
1
个回答提问
How must I declare a function handle that refers to a function you've written? What syntax is necessary?
I keep getting the error, "??? Output argument [...] not assigned during call to" my function psi_en whenever I try any of the f...
13 years 前 | 2 个回答 | 0
2
个回答提问
How to print string or variable in plot title?
I want to prompt for a file name, e.g. "4.dat", "6.dat", etc. I want to store it as a string to be used both to open that file -...
13 years 前 | 2 个回答 | 1
2
个回答提问
Is dynamic interpolation of input of function for 'quad' integration possible?
My task is to integrate a function given limited data, e.g. max_energy = 1000; quad(@(x) a.*x.*exp(-b.*x),0,max_energy...
13 years 前 | 3 个回答 | 0
3
个回答提问
How do I integrate a very simple function with specified inputs?
What I want to do is very simple, and so I am very frustrated. I simply want to integrate a function of multiple variables, i.e....
13 years 前 | 1 个回答 | 0