# Heya :)

**Statistics**

**MATLAB Answers**

**33** Questions

**0** Answers

RANK**163 438**

of 284 739

REPUTATION**0**

CONTRIBUTIONS

**33** Questions

**0** Answers

ANSWER ACCEPTANCE **
66.67%
**

VOTES RECEIVED**0**

RANK

of 19 226

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

RANK

of 137 516

CONTRIBUTIONS

**0** Problems

**0** Solutions

SCORE**0**

NUMBER OF BADGES**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

Question

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

nästan 3 år ago | 0 answers | 0

### 0

answersQuestion

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

nästan 3 år ago | 1 answer | 0

### 1

answerQuestion

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

nästan 3 år ago | 1 answer | 0

### 1

answerQuestion

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

nästan 3 år ago | 1 answer | 0

### 1

answerQuestion

incorrect number of input arguments

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

nästan 3 år ago | 2 answers | 0

### 2

answersQuestion

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

nästan 3 år ago | 1 answer | 0

### 1

answerQuestion

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?

nästan 3 år ago | 1 answer | 0

### 1

answerQuestion

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

nästan 3 år ago | 1 answer | 0

### 1

answerQuestion

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

nästan 3 år ago | 0 answers | 0

### 0

answersQuestion

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

ungefär 3 år ago | 1 answer | 0

### 1

answerQuestion

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

ungefär 3 år ago | 2 answers | 0

### 2

answersQuestion

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

ungefär 3 år ago | 2 answers | 0

### 2

answersQuestion

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

ungefär 3 år ago | 1 answer | 0

### 1

answerQuestion

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

ungefär 3 år ago | 1 answer | 0

### 1

answerQuestion

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

ungefär 3 år ago | 1 answer | 0

### 1

answerQuestion

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

ungefär 3 år ago | 2 answers | 0

### 2

answersQuestion

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

ungefär 3 år ago | 1 answer | 0

### 1

answerQuestion

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

ungefär 3 år ago | 1 answer | 0

### 1

answerQuestion

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

ungefär 3 år ago | 1 answer | 0

### 1

answerQuestion

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

ungefär 3 år ago | 1 answer | 0

### 1

answerQuestion

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

ungefär 3 år ago | 2 answers | 0

### 2

answersQuestion

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

ungefär 3 år ago | 1 answer | 0

### 1

answerQuestion

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

ungefär 3 år ago | 2 answers | 0

### 2

answersQuestion

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.

ungefär 3 år ago | 0 answers | 0

### 0

answersQuestion

how to solve 'Index exceeds the number of array elements (1)'?

[MATLAB is showing this error "Index exceeds the number of array elements (1)

mer än 3 år ago | 1 answer | 0

### 1

answerQuestion

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

mer än 3 år ago | 1 answer | 0

### 1

answerQuestion

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

mer än 3 år ago | 2 answers | 0

### 2

answersQuestion

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

nästan 4 år ago | 1 answer | 0

### 1

answerQuestion

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?

nästan 4 år ago | 1 answer | 0

### 1

answerQuestion

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

mer än 6 år ago | 1 answer | 0