Community Profile

# Alex Vasin

9 total contributions since 2017

#### Alex Vasin's Badges

View details...

Contributions in
View by

Question

Assigning computation values to variables without making it an array
Hi. When I use the following code it creates a array instead of just store a single value. fa1=(1/T)*trapz(t1,f1); How do I so...

4 mois ago | 1 answer | 0

### 1

answer

Question

How to plot a complex power spectrum using MATLAB?
I have all the |C_n|^2 and need to plot bars which represent the energy at intervals of w (angular frequency). I guess this wou...

4 mois ago | 1 answer | 0

### 1

answer

Question

How do I plot a horizontal line
s=0.5:0.001:1; f=yline(0.25); plot(s,f) How do I get this to produce a horizontal line at y=0.25 for the interval 0.5 <= s <=...

5 mois ago | 2 answers | 0

### 2

answers

Question

How to plot 2nd order ode
How can I use MatLAB to plot y''-4y'+5y=0, y(-1)=2 and y'(-1)=0 Thanks

environ un an ago | 1 answer | 0

### 1

answer

Question

How do I plot component curves for system of differential equations? I keep getting errors for this compartment model
F=@(t,x) [-4*x(1)+4*x(2); x(1)-6*x(2)+3*x(3)+2; x(1)+2*x(2)-8*x(3)+5]; [t,x]=ode45(F,[0 3], [0 10]); plot(t, x(:...

environ un an ago | 1 answer | 0

### 1

answer

Question

How to plot 3 vectors but align them so that they are all originating from the same point?
example a = [-2 3] b = [3 7] c = [-3 5] Thanks

plus de 2 ans ago | 1 answer | 0

### 1

answer

Question

Error: Too many output arguments
Hi. In my main M script I have: x = 0:50; y = 0:50; [X,Y] = meshgrid(x,y); P = P_fn(X,Y); in my function ...

plus de 2 ans ago | 1 answer | 0

### 1

answer

Answered
Why isn't addition working for this equation
Thanks for taking the time to answer guys. Basically, L1+L2 gave a value of around 70 or so for the last output when I ran th...

plus de 2 ans ago | 0

Question

Why isn't addition working for this equation
My script is not giving me the correct calculations clear all x = 0:50 y = 0:30 [X,Y] = meshgrid(x,y) L1 = sq...

plus de 2 ans ago | 3 answers | 0

answers