Community Profile

Contact

Top 10% contributor

Hey, It shows error here: y_freq = fftshift(fft(y))*dt; because matrix dimensions doesn't agree here: f = -Nyq : df : Nyq; ...

accepted

0

Answered 3 years ago

I need to do next: Draw a frequency image of following signal: t=0:0.0001:0.05; y=square(5*pi*50*t); also it's required to...

4 Answers

Asked 3 years ago

Hey! I got some regulation circuit, and in the reality I measure the unit "Y", but measuring takes some time, like 100ms. I wa...

1 Answers

Asked 2 years ago

I want to ask whether the sample times (1 inside the discrete PID governor and the another inside the configuration parameters -...

I would like a block which can manually generate 1 or 0. I need it because I want to manually turn off and turn on something

Hey! I would like to know is it possible to manually turn on the switch in simulink but only let's say after some amount of time...

Hi! I would like to simulate in Simulink "Load disturbance" or Load changes. Currently I use output signal from Step as a Load...

Hey guys. I have a simulation problem. I don't know how to simulate(in SIMULINK) function which is not function of time. Here i...

2 Answers

Hey all, I need to do next task: Write a function which calculates a Electrolytes Average value. Input data are: 1.sample...

Hey! I would like to close my breaker once the Voltage between point 1 and point 2( see picture below) is higher than some value...

0 Answers

Asked 1 year ago

I manually turn off and turn on something(2 constant blocks and 1 switch), but my problem is when I am inside some subsystem(su...

I know what you mean and this is nonlinear characteristics of servomotor. So to get this graph, I need to plot a function in Ma...

Answered 2 years ago

And One more question if I may: How to draw it on logarithmic scale maybe like this? plot(f,20*log10(imag(y_freq)/max(abs(y...

I thought I need to divide it with N=length(y_time)[because Amplitudes seems to me more realistic] not to multiply with dt but ...

or maybe like this?: function Yavg=el_avg_val(y,f_s,f_o) t=0:1/f_s:1/f_o; N=length(t); Yavg=sum(abs(y)...