Community Profile

photo

Heya :)


Last seen: alrededor de 3 años hace Con actividad desde 2017

Estadísticas

  • Thankful Level 4

Ver insignias

Content Feed

Ver por

Pregunta


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...

alrededor de 3 años hace | 0 respuestas | 0

0

respuestas

Pregunta


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...

alrededor de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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...

alrededor de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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...

alrededor de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


incorrect number of input arguments
Please help me to resolve what I am doing wrong in my title command. clear all; close all; clc; %%%%%%%%%%%%%%%%%%%%%%%%%%%%...

alrededor de 3 años hace | 2 respuestas | 0

2

respuestas

Pregunta


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 ...

alrededor de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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?

más de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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...

más de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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...

más de 3 años hace | 0 respuestas | 0

0

respuestas

Pregunta


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...

más de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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...

más de 3 años hace | 2 respuestas | 0

2

respuestas

Pregunta


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)=...

más de 3 años hace | 2 respuestas | 0

2

respuestas

Pregunta


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...

más de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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 ...

más de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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...

más de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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. ...

más de 3 años hace | 2 respuestas | 0

2

respuestas

Pregunta


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 ...

más de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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 ...

más de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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;...

más de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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...

más de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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. >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><...

más de 3 años hace | 2 respuestas | 0

2

respuestas

Pregunta


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...

más de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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...

más de 3 años hace | 2 respuestas | 0

2

respuestas

Pregunta


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.

más de 3 años hace | 0 respuestas | 0

0

respuestas

Pregunta


how to solve 'Index exceeds the number of array elements (1)'?
[MATLAB is showing this error "Index exceeds the number of array elements (1)

casi 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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...

casi 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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...

alrededor de 4 años hace | 2 respuestas | 0

2

respuestas

Pregunta


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 ...

alrededor de 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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?

alrededor de 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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; ...

casi 7 años hace | 1 respuesta | 0

1

respuesta

Cargar más