Community Profile

# Heya :)

##### Last seen: 5 Tage ago
24 total contributions since 2017

View details...

Contributions in
View by

Question

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

6 Tage ago | 1 answer | 0

### 1

Question

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

6 Tage ago | 2 answers | 0

### 2

Question

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

7 Tage ago | 2 answers | 0

### 2

Question

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

20 Tage ago | 1 answer | 0

### 1

Question

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

22 Tage ago | 1 answer | 0

### 1

Question

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

25 Tage ago | 1 answer | 0

### 1

Question

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

etwa ein Monat ago | 2 answers | 0

### 2

Question

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

etwa 2 Monate ago | 1 answer | 0

### 1

Question

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

etwa 2 Monate ago | 1 answer | 0

### 1

Question

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

etwa 2 Monate ago | 1 answer | 0

### 1

Question

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

2 Monate ago | 1 answer | 0

### 1

Question

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

2 Monate ago | 2 answers | 0

### 2

Question

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

2 Monate ago | 0 answers | 0

### 0

Question

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

2 Monate ago | 2 answers | 0

### 2

Question

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.

3 Monate ago | 0 answers | 0

### 0

Question

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

7 Monate ago | 1 answer | 0

### 1

Question

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

8 Monate ago | 1 answer | 0

### 1

Question

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

9 Monate ago | 2 answers | 0

### 2

Question

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

9 Monate ago | 1 answer | 0

### 1

Question

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?

10 Monate ago | 1 answer | 0

### 1

Question

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.

mehr als 3 Jahre ago | 1 answer | 0

### 1

Question

i want 3D plot of the following equation iin matlab.buh it keep on giving errors.?
I want 3D plot of the following equation iin matlab.buh it keep on giving errors.? exp(t*i) - (192*exp(t*i)*(2*t^5*i + 5*t...

mehr als 3 Jahre ago | 1 answer | 0

### 1

Question

how can i solve si 1 and si 2 as system of differential equations in matlab?

fast 4 Jahre ago | 1 answer | 0