Community Profile

photo

Alex Vasin


Last seen: 2 years ago Active since 2017

Statistics

  • Thankful Level 3

View badges

Content Feed

View by

Question


Set length of plot axis
Hi. I plotted a curve which is shaped like a parabola. The peak of paraloba (y=2.5) touches the top border of the box (actually ...

2 years ago | 1 answer | 0

1

answer

Question


How to do a surface plot with tangent plane?
I want to use the following code I got from : https://au.mathworks.com/help/matlab/math/calculate-tangent-plane-to-surface.html ...

4 years ago | 1 answer | 0

1

answer

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

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

5 years 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 years 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

6 years 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(:...

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

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

7 years ago | 2 answers | 0

2

answers

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

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

7 years ago | 3 answers | 0

3

answers