Community Profile

# Haya Ali

Last seen: 3 dagar ago Active since 2021

#### Content Feed

View by

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

3 dagar ago | 1 answer | 0

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

4 dagar ago | 1 answer | 0

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

4 dagar ago | 1 answer | 0

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

4 dagar ago | 1 answer | 0

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

4 dagar ago | 2 answers | 0

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

5 dagar ago | 2 answers | 0

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

7 dagar ago | 0 answers | 0

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

9 dagar ago | 2 answers | 0

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

9 dagar ago | 1 answer | 0

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

11 dagar ago | 3 answers | 0

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

### 1

Question

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

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

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

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

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

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

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

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

### 1

Question

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

Question

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

Question

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

### 1

Question

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

### 1

Question

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

Question

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

Question

How to create a distance between labels in plot?
How to separate the mixed labels? As show in figure. Below is my code. clear all; close all; clc; data=[0.0245,0.1200,0 ...

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

### 1

Question

How to change the position of labels on plot?
I want to create a distance (a little bit upward) between the data points and the labels as indicated in figure attached. Please...

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

### 1

Question

How to find the minimum Error when the position is known?
I know the position at which the value of Error is minimum. Is their a command to know the value of Error also? clear all; cl...

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

### 1

Question

How to get a single value after an iteration?
I need a single value of Error that I am measuring. How can I get a single value of error instead of iterated values? clear al...

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