Community Profile

# Haya Ali

Last seen: 8 days ago Active since 2021

#### Content Feed

View by

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

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

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

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

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

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

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

6 months ago | 1 answer | 0

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

7 months ago | 1 answer | 0

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

7 months ago | 1 answer | 0

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

8 months ago | 1 answer | 0

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

8 months ago | 1 answer | 0

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

8 months ago | 1 answer | 0

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

10 months ago | 1 answer | 0

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

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

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

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

1 year ago | 1 answer | 0

### 1

Question

Euler's method in matlab
If I write the model using Euler's method. Like this clear all; close all; clc; %value of constants a_n=0.1; omega_0=2; dt=...

1 year ago | 1 answer | 0

### 1

Question

How to convert an array of exponential numbers to am array of whole numbers?
Is there a command that gives answer like 1.0e+03 is automatically multiplied to each number in an array? r = 1.0e+03 * ...

1 year ago | 1 answer | 0

### 1

Question

Left and right sides have a different number of elements
I have to changed the x timeseries in the program I have been provided as a sample but I am getting an error. Please help me to ...

1 year ago | 2 answers | 0

### 2

Question

How to find the C=corresponding x axis values of a peak on Y-axis?
I have to find the 'x' values at which the peak is maximum. How can I find that? Please help. x=[11500.2 11477.9 11417.3 114...

1 year ago | 1 answer | 0

### 1

Question

How to convert a graph into spiral in MATLAB?
Is their a way to convert the graph of x to spiral shape? Below is my code clear all; close all; clc; x=[11500.2 11477.9 11417...

1 year ago | 1 answer | 0

### 1

Question

How to plot two different signals like an orbit on the same graph?
I have to plot X1 and it's hilbert transformation on the same plot like an orbit as shown in picture. But it is giving an error....

1 year ago | 1 answer | 0

### 1

Question

How to find the exact value of the frequency by MATLAB?
I want to find the exact value of the frequency at which the peak is highest (represented by purple circle in the figure)on the ...

1 year ago | 3 answers | 0

### 3

Question

Plotting the absolute value.
How can I plot the absolute value of x? which is also the norm, of the complex variable after fft. Please help. x=[11500.2 114...

1 year ago | 1 answer | 0

### 1

Question

How to apply fourier analysis on the data given?
I have to apply the fourier analysis on the vector x given below. How to apply the fourier transform and find the optimal freque...

1 year ago | 1 answer | 0

### 1

Question

Prediction error of the signal
I have to measure the error btw the x1_t1 and x1rec_t1, x1_t2 and x1rec_t2,x1_t3 and x1rec_t3 by the formula given below. There ...

1 year ago | 1 answer | 0

### 1

Question

Index exceeds the number of array elements (60).
I have to measure the error btw the x1_t1 and x1rec_t1, x1_t2 and x1rec_t2,x1_t3 and x1rec_t3 by the formula given below. Am I m...

1 year ago | 1 answer | 0

### 1

Question

Plotting a time step response
How to fill the gap (as shown in image)while plotting? clear all; close all; clc; c1=1; d11=0.0100; d12=-0.1421; X1=[11500....

1 year ago | 1 answer | 0