Community Profile

Haya Ali

Last seen: 7 dagar ago Active since 2021

Content Feed

View by

Question

How to plot two figures side by side in a same plot?
I am using subplot command to plot two figures side by side in a same plot but both figures are not appearing. Please help me to...

3

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

1

Question

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

1

Question

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

1

Question

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

1

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

1

Question

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

1

Question

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

1

Question

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

Question

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

Question

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

1

Question

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

1

Question

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

1

Question

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

1

Question

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

2

Question

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

2

Question

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

0

Question

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

2

Question

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

1

Question

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

Question

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

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

1

Question

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

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

2

Question

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

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

1

Question

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

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

1

Question

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

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

1

Question

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

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

1

Question

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

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

0

Question

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

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

1

Question

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

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