Community Profile

photo

STP


Last seen: 3 years ago Active since 2019

Followers: 0   Following: 0

Statistics

  • Thankful Level 3

View badges

Feeds

View by

Question


Plot an equation: variable inputs
I fail to get this plot via this equation on matlab, although mathematically I get it right. T = 0.3 dB

3 years ago | 1 answer | 0

1

answer

Question


How to plot this equation and get this curve??
Here is the equation : T = 10.^(-A/20) The plot of A vs C is : My code so far: N = 15; C = linspace(0, 35, N); A =...

3 years ago | 1 answer | 0

1

answer

Question


legend add title or more information
I have a loop running with different values and hence my plot and legend commands look like below: plot(be, mx); xlabel...

5 years ago | 1 answer | 0

1

answer

Question


Write a signal whose phase increases
For eg I have an input : exp(1i*0) with a particular phase, I wish to write another signal whose phase goes till 180 degrees as ...

5 years ago | 1 answer | 0

1

answer

Question


exponential function phase reversal
I wish to know when using exponential function do i get a phase reversal of 180 degrees like -- exp(1i*0) to exp(1i*pi) or exp(1...

5 years ago | 1 answer | 0

1

answer

Question


Signal plot - Can't figure out error
t1= [0 5]; t2a = [5 6]; t2b = [6 7]; t3 = [7 10]; Eo1 = exp(1i*pi); phi = 2*pi/3; % any angle as its the slope k = -phi/(...

5 years ago | 1 answer | 0

1

answer

Question


Undefined operator '+' for input arguments of type 'function_handle'.
t1 ... t2a.. phi= pi./2; k = -phi./(t2a(1)-t1(1)); U1 = (exp(1i*pi)); A1= V1 + U_in1 ; % this works ; U2 = @(t) (exp(1i*...

5 years ago | 1 answer | 0

1

answer

Question


Why when plotting - no Phase change of 180 degrees ?
I would like to change phase of my inputs as per: Is the below correct interpretation? It should be a particular phase , the...

5 years ago | 1 answer | 0

1

answer

Question


Error in ode function -- not enough input arguments
t1 = [0 4.4]; t2a = [4.4 4.7]; t2b = [4.7 5]; t3 = [5 8]; Ek1 = exp(1i*pi); phi= pi./2; k = -phi./(t2a(1)-t1(1)); Ek2a ...

5 years ago | 1 answer | 0

1

answer

Question


For loop with linspcace - for a multiple plots?
beta=5; omega = 2856; Qo = 10000; QL = Qo/(1+beta); omega_half = omega/(2*QL); U_in1 = 1; y1 = 0; alfa = (2*beta)./(1+b...

5 years ago | 1 answer | 0

1

answer

Question


plot integral equation coming from ode solver
I have an equation that comes from ode solver : [t1 V1] = ode15s(dV1dt, t1, y1); plot(t1, V1 ,'-b','lineWidth',2) then I do so...

5 years ago | 1 answer | 0

1

answer

Question


How to? - Complex numbers
dVdotdt= @(-(Whalf-1i.*w).*V + alfa.*Uin); (Whalf-1i.*w) part is complex. When I put the above in my equation I get 'Warning: ...

5 years ago | 1 answer | 0

1

answer

Question


How to find the differential equation ? ode solver
So I am very new to matlab ; now wish to use ode solver. I am a little stuck with a thing ; If I have an ouput plot as my object...

5 years ago | 1 answer | 0

1

answer

Question


ODE function - plot not as desired
The above equations give me the plot shown And I am attaching the code for the same; % Constants beta=5; alfa = 2.*beta...

5 years ago | 1 answer | 0

1

answer

Question


convert my code ; Plot using ode function
% Constants beta=5; alfa = 2.*beta/(beta+1); tau1=4.4; tau2=5; Tc=0.20; gamma=alfa.*(2-exp(-tau1)); % Time frames t1=0:0...

5 years ago | 1 answer | 0

1

answer

Question


Plotting error with integral
The photo represents the equations I wish to put in matlab which when plot gives a curve shown as well. I am putting my code, wi...

5 years ago | 1 answer | 0

1

answer

Question


Undefined funcion variable error
% Constants beta=5; alfa = 2.*beta/(beta+1); tau1=4.4; tau2=5; Tc=1.24; Ta=0.66; g=0; gamma=alfa.*(2-exp(-tau1)); % Ti...

5 years ago | 2 answers | 0

2

answers

Question


Plotting error: I am trying to plot the equations and the output should be as shown but its not
beta=5; t1=0:0.1:4.4; alfa=2.*beta/(beta+1); E1=-alfa .*exp(-tau1.*t1) + alfa plot(t1,E1); gamma=alfa.*(2-exp(-tau1)); tau...

5 years ago | 2 answers | 0

2

answers

Question


HOW to plot? i dont see any curve while plotting
alfa=5/3; tau1=2 E=-alfa .*exp(-tau1) + alfa t1=0:0.1:4.4; plot(t1,E) plot(t1,E,'Linewidth', 2)

5 years ago | 1 answer | 0

1

answer