# Haya Ali

**Statistics**

**MATLAB Answers**

**59** Questions

**0** Answers

RANK**72,059**

of 277,839

REPUTATION**0**

CONTRIBUTIONS

**59** Questions

**0** Answers

ANSWER ACCEPTANCE **
94.92%
**

VOTES RECEIVED**0**

RANK

of 18,799

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

RANK

of 129,043

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

How to label nodes in a plot?

I want to add labels to nodes " D1, D2,....,D23" in my plot and change the color of lines to magenta. Please help. close all; c...

12 days ago | 1 answer | 0

### 1

answerQuestion

How to draw a network of nodes in circular formation with links between nodes in MATLAB?

I have a connectivity matrix and I want a figure like this for my matrix. How can I draw this using matlab? Please help....

13 days ago | 1 answer | 0

### 1

answerQuestion

Help in calculating the error.

I want to plot Error a Vs Data. where, and graph should be in a decreasing trend like this but I am getting graph like...

20 days ago | 1 answer | 0

### 1

answerQuestion

How to add zeros diagonally in a matrix?

I am trying to add zeros diagonally in this matrix so it should become 23*23 matrix. But with my program it becomes 24*22 matrix...

1 month ago | 1 answer | 0

### 1

answerQuestion

How to change the width of the command window?

I want all the columns of the matrix to be displaced without being wrapped in the command window like the matrix given below. Ho...

1 month ago | 1 answer | 0

### 1

answerQuestion

How to give variable name to a Mat file?

I have a mat file in which the data is of variable X1 in my program. I loaded the data but it's giving an error. Please help. l...

3 months ago | 1 answer | 0

### 1

answerQuestion

How to set multiple values of a threshold?

My threshold is 12. If I will get positive values greater than and equal to 12 then I have to set it 1. If I will get negatives...

3 months ago | 1 answer | 0

### 1

answerQuestion

How to take an average from range of values?

I have this array and according to excel histogram plot the mostly values are located in the range [-0.5,0.5]. I want to sort al...

3 months ago | 1 answer | 0

### 1

answerQuestion

How to set -0.0000 and 0.0000 as zero in matlab?

By a long calculation I get this array A1 = Columns 1 through 13 -0.0000 0.2825 -0.0000 -0.4251 0.0000 ...

3 months ago | 1 answer | 0

### 1

answerQuestion

How to take an average?

I have this array and according to excel histogram plot the mostly values are located in the range [-0.5,0.5]. I want to sort al...

3 months ago | 2 answers | 0

### 2

answersQuestion

Help in writing a a code for an array based on comdition.

I have an array A. A1= [-0.0082 -0.0409 -0.0175 -0.0853 0.0217 -0.2556 -0.0302 0 ] From A array I want to replace...

3 months ago | 2 answers | 0

### 2

answersQuestion

How to run the same program multpile times?

I want to run this program 20 times and note the value of Rate Signal on every execution. Is there any way to run this program 2...

3 months ago | 0 answers | 0

### 0

answersQuestion

How to mark NaN values on the plot?

I am getting NaN value in the rate signal and I want to mark them on the plot. How can I mark them on the plot? Below is my code...

3 months ago | 2 answers | 0

### 2

answersQuestion

How to get a signal without NaN values?

I have a signal and I have applied the Shannon's Nyquist Theorem to get the rate and the reconstructed signal by following formu...

3 months ago | 1 answer | 0

### 1

answerQuestion

How to trim start and end of time series data?

I have 234 points in a signal. I want to trim the start and end of the reconstructed signal i.e. I want to start the signal from...

3 months ago | 3 answers | 0

### 3

answersQuestion

Help in the value of a variable.

I am advised to use the for loop for std and measure the value of P1 for each value of std. The value of P1 should be like this...

4 months ago | 1 answer | 0

### 1

answerQuestion

Index exceeds the number of array elements. Index must not exceed 1.

Please help to resolve the error. clear all; close all; clc; %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % ...

4 months ago | 2 answers | 0

### 2

answersQuestion

Please help me to spot the error.

I have made a code for 23 coupled oscillators. Matlab is showing error but its not telling the what is the error. Below is my co...

4 months ago | 1 answer | 0

### 1

answerQuestion

How to plot an oscillator?

I want to plot the equations given below. Which is generally of an 3 coupled oscillators. Can anyone please tell me if I am plot...

5 months ago | 1 answer | 0

### 1

answerQuestion

Help in 2D plot of coefficients

I have to plot a figure like this. Please help. Below is my code. Real Coefficient= [0.0723, -11.0000, 0.001, 0.0011, 0.00...

5 months ago | 1 answer | 0

### 1

answerQuestion

Index exceeds the number of array elements. Index must not exceed 1.

Please please help me to fix the error. I have tried changing the values for loop but its still not working. I don't know where ...

5 months ago | 1 answer | 0

### 1

answerQuestion

Index exceeds the number of array elements. Index must not exceed 1.

Please help to resolve error. Below is my code. % value of constants a1 = 0.1; omega1 = 2; G = 0.01; C12 = 0.00...

5 months ago | 0 answers | 0

### 0

answersQuestion

Plot of three coupled oscillator.

I am trying to built three coupled oscillator just as two coupled oscillator but i don't know what mistake I am doing. Please he...

6 months ago | 1 answer | 0

### 1

answerQuestion

Need help in plotting current and conductance

Please help me to plot gCa, gK,ICa,IK. Below is my code %% Forward Euler Method close all; clear all; clc; %Constants set for...

10 months ago | 1 answer | 0

### 1

answerQuestion

How to adjust plot?

How can I adjust my x axis to start from 0 in the figures. When I set xlim then the figures become totally changed. Please help ...

11 months ago | 1 answer | 0

### 1

answerQuestion

How to find the time between two spikes?

Please help me to to find the time between two spikes i.e. inter-spike interval T in matlab. Below is the code for spike generat...

12 months ago | 1 answer | 0

### 1

answerQuestion

The end operator must be used within an array index expression.

Can anybody please help me to plot minf which is defined at the end. Below is my code clear all; close all; clc; Vrest =...

12 months ago | 1 answer | 0

### 1

answerQuestion

Unrecognized function or variable 'm_equations'

Please help me to resolve the following error. Error in untitled (line 38) [alphaM, betaM] = m_equations(V(1), Vrest) Th...

12 months ago | 1 answer | 0

### 1

answerQuestion

Move all statements after the function definition to before the first local function definition

Please help me to resolve this error. Below is my code. clear all; close all; clc; % calculate alpha m and beta m based on Tab...

1 year ago | 1 answer | 0

### 1

answerQuestion

Not enough input arguments.

I want to build a graph of this equation where phi0=pi/3. and it's graph is like but I am getting an error " not enough i...

1 year ago | 1 answer | 0