已回答
Warning: Imaginary parts of complex X and/or Y arguments ignored.
Thanks, but I found the error was a negative sign in a rooted term that needed an abs function to solve it.

3 years 前 | 0

| 已接受

提问


Warning: Imaginary parts of complex X and/or Y arguments ignored.
I keep getting this error messgae when plotting some quantaties. My code points out that U_T is a cmplex double which is not tr...

3 years 前 | 1 个回答 | 0

1

个回答

提问


Root finder solver for cubic equation
I have the following cubic equation in beta, knowing gamma, theta and M1 how can I find the roots of beta using MATLAB? for...

3 years 前 | 1 个回答 | 0

1

个回答

提问


How to fit an exponential curve? error: Dimensions of arrays being concatenated are not consistent
Hello, I have an energy plot that I would like to fit an exponential curve to. I have something like this numSteps = 5000; x...

3 years 前 | 1 个回答 | 0

1

个回答

提问


Array indices must be positive integers or logical values.
I am so confused why would I get this error. One minute the code is running fine and produces plots, the next is no longer runni...

3 years 前 | 1 个回答 | 0

1

个回答

提问


Index exceeds the number of array elements (101)
I keep getting this error for a function I wrote. Not quiet sure what it really means since I think the sizes of xe and xb are c...

3 years 前 | 1 个回答 | 0

1

个回答

提问


how to combine two plots in one figure
I have the following code and would like to plot the motion of a particle under the influence of magnetic field with two intensi...

4 years 前 | 1 个回答 | 0

1

个回答

提问


3D Plot of 2D sim
I have the following code. The code works for me now and it provides a 2D plot, however I am trying to plot a 3D plot. So an exa...

4 years 前 | 1 个回答 | 0

1

个回答

提问


Plotting 2D graph error: Index exceeds
Hello, I have the following code with some simple calculations, I am trying to plot eventually two plots: 1) Cpm/Rm VS T and 2)...

4 years 前 | 1 个回答 | 0

1

个回答

提问


MATLAB: How can I change the size of a structure of arrays?
I have the following the structure of arrays: ray_state_vec_in2.r = ray_state_vec.r(:,[1:3]); ray_state_vec_in2.Q = ray_stat...

4 years 前 | 1 个回答 | 0

1

个回答