Thanks Mr. Santosh Kumar for the information about fcn block. Please find the program for sin(2*pi*u(1)*u(2)) as follow: function y = fcn(f,t) y = sin(2*pi*f*t); end This program will create two input terminals. In first terminal, you can use constant/ramp block to fed constant/varying frequency. In second terminal, you can use clock block to fed time.
Hello Rephah, you can use ramp block to generate ramp signal having "slope: 0.05" and "initial output: 1". Use this ramp block in place of step and two constant block to generate u(1) signal as frequency of sine wave. Note: Detailed discussion about ramp block is already given in 16 video of this series.
Hello Sir. Thank you for your video. It helps me a lot. What if I want to make variable input freq and voltage. Can I use ramp block? Because I need to make sure v/f constant with changing voltage and frequency
Hello @sirtufillaila9781, Thanks for finding time to comment your kind feedback. Yes, you are right. You can use ramp block to variable input frequency and voltage by making v/f ratio constant.
Hello sir, I need a help from you. I want to make a variable frequency control isolated dc-dc converter. I have to design a process block that will take response from PI controller and then gemerate PWM signal to provide variable switching frequency for three phase inverter. How to do that? How I can generate the PWM signal of variable frequrncy so that it always remain in between a minimum amd maximum frequency? I would be grateful to you if you could help me. 😓
I hope 20th video of this playlist which was on relational operator block will be helpful to understand pulse width modulation in MATLAB Simulink. Are you talking about dc-dc converter or three-phase inverter?
Hello Sir, Thank you so much for this useful video! Can we increase the values of the frequency in a linear manner or a logarithmic manner instead of selecting a specfing values (for example every 5 seconds like your video) ?
Thanks Mhmoud Khadija for your appreciating words. Yes, we can increase the values of the frequency in a linear or logarithmic manner. For this, we need to use ramp or math function (log option) block instead of step block.
fcn block is removed n matlab 2021. can you write the program in matlab function block for sin(2*pi*u(1)*u(2))
Thanks Mr. Santosh Kumar for the information about fcn block. Please find the program for sin(2*pi*u(1)*u(2)) as follow:
function y = fcn(f,t)
y = sin(2*pi*f*t);
end
This program will create two input terminals. In first terminal, you can use constant/ramp block to fed constant/varying frequency. In second terminal, you can use clock block to fed time.
hi, can you explain how can we get sine wave with the frequency is varied from 1 to 20 Hz{ A frequency sweep with a
resolution of 0.05 Hz}?
Hello Rephah, you can use ramp block to generate ramp signal having "slope: 0.05" and "initial output: 1". Use this ramp block in place of step and two constant block to generate u(1) signal as frequency of sine wave.
Note: Detailed discussion about ramp block is already given in 16 video of this series.
@@info4eee Thank you so much
hi, do you know how I can change the output frequency of a sine wave by using a lookup table in simulink? I really appreciate if you can answer me
Hello Yilmaz, Can you elaborate your requirement for better understanding?
Man, You are the best!
Thanks Haras Haras for your appreciating words. It means us a lot.
Hello Sir. Thank you for your video. It helps me a lot. What if I want to make variable input freq and voltage. Can I use ramp block? Because I need to make sure v/f constant with changing voltage and frequency
Hello @sirtufillaila9781, Thanks for finding time to comment your kind feedback. Yes, you are right. You can use ramp block to variable input frequency and voltage by making v/f ratio constant.
Hello sir, I need a help from you.
I want to make a variable frequency control isolated dc-dc converter. I have to design a process block that will take response from PI controller and then gemerate PWM signal to provide variable switching frequency for three phase inverter. How to do that? How I can generate the PWM signal of variable frequrncy so that it always remain in between a minimum amd maximum frequency?
I would be grateful to you if you could help me. 😓
I hope 20th video of this playlist which was on relational operator block will be helpful to understand pulse width modulation in MATLAB Simulink.
Are you talking about dc-dc converter or three-phase inverter?
Can you guide us with matlab code for the same example?
Hello Sir,
Thank you so much for this useful video!
Can we increase the values of the frequency in a linear manner or a logarithmic manner instead of selecting a specfing values (for example every 5 seconds like your video) ?
Thanks Mhmoud Khadija for your appreciating words.
Yes, we can increase the values of the frequency in a linear or logarithmic manner. For this, we need to use ramp or math function (log option) block instead of step block.
@@info4eee Thank you so much sir!
thanks
Thanks Ananta Parajuli for your feedback. It means us a lot.
thank u so much
Thanks a lot Shriniwas Raut for your appreciation.
It means us a lot.
Thanks a lot Shriniwas Raut for your appreciation.
It means us a lot.