# Haya Ali

**Statistics**

**MATLAB Answers**

**63** Questions

**0** Answers

RANK**72,647**

of 281,775

REPUTATION**0**

CONTRIBUTIONS

**63** Questions

**0** Answers

ANSWER ACCEPTANCE **
95.24%
**

VOTES RECEIVED**0**

RANK

of 19,058

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

RANK

of 134,109

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 change the color of the connections in plot to only one color?

I am trying to make a chord diagram using the code from here (https://www.mathworks.com/matlabcentral/fileexchange/48576-circula...

2 months ago | 1 answer | 0

### 1

answerQuestion

Help in labelling Heatmap

How can I label the x and y axis in a heatmap? Also how to highlight the diagonal elements in a heat map with one color as shown...

2 months ago | 1 answer | 0

### 1

answerQuestion

How to smooth the matlab plot to get the desired plot shape?

Is there a way to change figure one to figure 2 (like the lines I draw in red and black color) without changing the values of ...

2 months ago | 1 answer | 0

### 1

answerQuestion

How to make peaks of a plot smooth in MATLAB?

I want to make the edges shown in the figure smooth. I have used interpolation but I want to makes these edges more smooth. ...

2 months ago | 1 answer | 0

### 1

answerQuestion

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

1 year ago | 1 answer | 0