Heya :)
Followers: 0 Following: 0
Feeds
提问
Index exceeds the number of array elements (1)
I need to plot x1, y1, x2 and y2 for different values of a1 and a2. Please help me to resolve the issue. Thanks in advance. c...
4 years 前 | 0 个回答 | 0
0
个回答提问
plotting multiple values of a parameter on same figure
I need to plot (OMEGA1 vs Ex_nz) and (OMEGA1 vs Ex_ny) for different values of amplitude a1= 0.1, a2=0.2, a3=0.3, a4=0.4 and a5...
4 years 前 | 1 个回答 | 0
1
个回答提问
Plot multiple b-value on an error vs frequency plot.
I need to plot (a vs Ex_nz) and (a vs Ex_ny) for different values of b= 0.1, b=0.2, b=0.3, b-0.4 and b=0.5. How can I plot thes...
4 years 前 | 1 个回答 | 0
1
个回答提问
How to plot different values on same figure?
I need to plot (a vs Ex_nz) and (a vs Ex_ny) for different values of b= 0.1, b=0.2, b=0.3, b-0.4 and b=0.5. How can I plot thes...
4 years 前 | 1 个回答 | 0
1
个回答提问
incorrect number of input arguments
Please help me to resolve what I am doing wrong in my title command. clear all; close all; clc; %%%%%%%%%%%%%%%%%%%%%%%%%%%%...
4 years 前 | 2 个回答 | 0
2
个回答提问
How to take 100 samples of a plot.
I have a task to take 100 samples of a plot at a fixed value of parameters a2, omega1, and omega2 and I will be changing a1 and ...
4 years 前 | 1 个回答 | 0
1
个回答提问
What's the meaning of 2.7830e-09?
What is the meaning of this answer? a= 2.7830e-09 How to convert it into whole number?
4 years 前 | 1 个回答 | 0
1
个回答提问
How to find the absolute value?
I have to find absolute values of each element of ksaix1, ksaix2, ksaiy1 and ksaiy2 e.g. abs (ksaix1(1)) etc. I know how to find...
4 years 前 | 1 个回答 | 0
1
个回答提问
Why I am not getting anything from the plot?
The plot is supposed to be two waves x1_rec and x2_rec. But I am not getting anything from the code. Can anyone please elaborate...
4 years 前 | 0 个回答 | 0
0
个回答提问
Error in plotting the waves.
I am supposed to get the two waves as showing in the picture with this code. Can anybody please spot the error or refine the cod...
4 years 前 | 1 个回答 | 0
1
个回答提问
Index exceeds the number of array elements (1)
Can anyone please help me to resolve my issue. I have been trying to resolve it since two days. It's not easy for me as I am new...
4 years 前 | 2 个回答 | 0
2
个回答提问
Index exceeds the number of array elements (1).
I am unable to spot why I am getting an error. Please help to resolve the error. x1_rec(1)=x1(1); x2_rec(1)=x2(1); y1_rec(1)=...
4 years 前 | 2 个回答 | 0
2
个回答提问
Writing a differential equation for iteration using for loop.
I have a differential equation: p=@(t,x,y) (a-x^2-y^2)*x-omega*y; Why for iteration we write this equation as ? for i=2:50000...
4 years 前 | 1 个回答 | 0
1
个回答提问
Runge Kutta method for coupled oscillator system.
I am trying to solve these equations with the help of Runge Kutta Method. I am not sure whether I am writing the code correctly ...
4 years 前 | 1 个回答 | 0
1
个回答提问
How to write a row of a matrix using if statement?
I have a Matrix M :- M= (A B) A=1+x1+y1+x1y1 and B=1+x2+y2+x2y2 How to write the B using if statement? Below is my cod...
4 years 前 | 1 个回答 | 0
1
个回答提问
How to display the value of output on plot?
My output is Error_x. Is their any way that MATLAB displays the value of output on plot? Like thethe R^2 In the given imagee. ...
4 years 前 | 2 个回答 | 0
2
个回答提问
Running same program is giving different plot
Everytime I run a program I get different plot for error. Why is that? How to resolve this issue? Please help clear all; close ...
4 years 前 | 1 个回答 | 0
1
个回答提问
Why is my plot not showing?
Only axes are appearing but plot is not showing. Please help me to detect the error i am making in the program. Apologies for a ...
4 years 前 | 1 个回答 | 0
1
个回答提问
Assigning value to a variable.
Please elaborate what is the meaning of following commands. I am confused about assigning values to variables. x(1)=1; y(1)=1;...
4 years 前 | 1 个回答 | 0
1
个回答提问
error using plot vectors must be the same length
Why i am getting this error in plot (Data, hx,) and how to fix it? This is my code for i=2:test_points x_rec(i)=c1+c2*x_rec...
4 years 前 | 1 个回答 | 0
1
个回答提问
Error using ^ (line 51) Incorrect dimensions for raising a matrix to a power. Check that the matrix is square and the power is a scalar. To perform elementwise matrix powers, use '.^'.
Please help me to fix the problem mentioned as Error-1 and Error-2. I will be very thankful. >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><...
4 years 前 | 2 个回答 | 0
2
个回答提问
Index exceeds the number of array elements.
I am trying to solve this problem ***Facing these issues*** (Index exceeds the number of array elements (1). Error in Unti...
4 years 前 | 1 个回答 | 0
1
个回答提问
Index exceeds the number of array elements (1).
Can anybody please help why I am getting this error. I am unable to figure out what I am doing wrong in this code. I am get...
4 years 前 | 2 个回答 | 0
2
个回答提问
How to find the coherence between fourier basis and spike basis?
How to write the spike basis in Matlab? I have attached the formula of coherence and spike basis in the image.
4 years 前 | 0 个回答 | 0
0
个回答提问
how to solve 'Index exceeds the number of array elements (1)'?
[MATLAB is showing this error "Index exceeds the number of array elements (1)
4 years 前 | 1 个回答 | 0
1
个回答提问
L2 norm of the column
How can I write the code to find the L2 norm of the column (G`)ij as shown in the picture below. In my code I have used M inste...
4 years 前 | 1 个回答 | 0
1
个回答提问
How to plot multiple vertical lines at specific points on x axis?
I want to plot 0.8 at 0, 0.1 at 0.9 and 0.06 at -1.3. Here is what I am trying but I am onling getting a single line. close a...
4 years 前 | 2 个回答 | 0
2
个回答提问
Can anyone please explain that what each command is showing in the following program? How to select the dimesions? As well as recommend something to study the loops.
X=x(2:21); (what is the meaning of x(2:21))? Y=y(2:21); M=zeros([20,10]); for i=1:20 for j=1:10 if j==1 ...
4 years 前 | 1 个回答 | 0
1
个回答提问
How to plot fixed value for a number of ranges splited by a fixed step size in MATLAB?
How to plot the figure in the image given below?
5 years 前 | 1 个回答 | 0
1
个回答提问
I have to construct a 3D plot and contour plot of the following equation which will result in rouge waves i have attached a pic of it .i have tried it several times but i am getting nothing.please help me with my task.any help would be appreciated.
<</matlabcentral/answers/uploaded_files/74453/17668680_10155270666243489_593948035_o.jpg>> syms X real; syms T real; ...
7 years 前 | 1 个回答 | 0