Error using plot: vectors must be the same lengths
I am trying to plot two function in the same file; however, I am getting the following error: "Error using plots: vectors must b...
9 Monate ago | 1 answer | 0
Suggestions for financial simulation
This is a non-technical question. I want to do a financial simulation for an upcoming project. I would like to use Monte Carlo...
10 Monate ago | 1 answer | 0
MATLAB: Newton-Raphson method to determine roots of square root function
Background: I am trying to implement the Newton-Raphson to determine the classical truning points of a particle in the potential...
11 Monate ago | 0 answers | 0
Warning: Error updating FunctionLine
I have written 3 simple lines of code to plot a function. Here is my code: n=2; omega=@(r) log(factorial(r+n-1))-log(factorial...
11 Monate ago | 1 answer | 1
code will not run, but gives no error message
I have written the following code that involves multiple functions. S calls A and B. Evidently this is wrong because the code is...
11 Monate ago | 1 answer | 0
Code outputs correctly once, but gives an error message when I try to output a second time.
I have written the following code that evaluates the roots of the quadratic function . The coefficients b and c input parameters...
12 Monate ago | 1 answer | 0