Feeds
提问
Warning: Imaginary parts of complex X and/or Y arguments ignored
Hi Everybody, I want to plot gp vs. q in the following code: kab=3; kba=3; gp=0.0:0.0001:1.25; gn=0...
12 years 前 | 2 个回答 | 0
2
个回答提问
Numerical Solution
Hi everybody, I have an equation which is: |i*q=k*sin(q)| I need to use the matlab to find its roots. I want to set a s...
12 years 前 | 3 个回答 | 0
3
个回答提问
Changing the figure font
Hi every body, I want to change the font size of the plotted figure itself, so as we have many line styles like (--, :, -., -...
12 years 前 | 3 个回答 | 0
3
个回答提问
In an assignment A(I) = B, the number of elements in B and I must be the same.
Hi every body, When I run this code: t=-3:.1:3; Go=1000; Bc=5; Pin=@(t)3*exp(-t.^2); Ein = quadgk(Pin,-i...
12 years 前 | 1 个回答 | 0
1
个回答提问
Subscript indices must either be real positive integers or logicals
When I run this script: x=-3:.1:3; Go=1000; Bc=5; Pin=@(x) 3*exp(-x.^2); Ein(i)=quadgk(Pin,-inf,inf); for i=1:...
12 years 前 | 1 个回答 | 0
1
个回答提问
Undefined function or method 'int' for input arguments of type 'double'.
Hi Everybody, I need your help please. When I run my following script: x=-3:.1:3; Go=1000; Bc=5; Pin=3*exp(-x....
12 years 前 | 1 个回答 | 0
1
个回答提问
In an assignment A(I) = B, the number of elements in B and I must be the same.
Hi everyone, Here is the code, that gives me the error that I put in my title. Please correct my code, Also, I am new in MATLAB...
12 years 前 | 1 个回答 | 0
1
个回答提问
Undefined function or method 'fft' for input arguments of type 'sym'.
Hi Everyone: When I run this script: syms t x=-3:.1:3; for i=1:length(x); Pin=3*exp(-t^2); z=x(i); ...
12 years 前 | 2 个回答 | 0
2
个回答提问
Conversion to double from sym is not possible
Hi every body, this is my code syms t x=-3:.1:3; for i=1:length(x); Pin=3*exp(-t^2); z=x(i); Eo(i)=int(Pin,t,...
13 years 前 | 2 个回答 | 0