Community Profile # Sam Chak

Last seen: Today Active since 2020

#### Statistics

• • • • • • #### Content Feed

View by

Problem in creating stimulink for a tranfer function
Hi @Sukumar Kishanthan You can try this trick, using the Descriptor State-Space block to create the "equivalent" improper (non-...

1 day ago | 0

How to get fuzzy output values instead of crisp output values?
Hi @Hung The crisp out does not have an equivalent scalar fuzzy value. So, I think you probably mean finding the Aggregated out...

1 day ago | 1

| accepted

can not use PID tuner in simulink
Hi @Cheng an Ku, @Foo Yun Hong, @Jhayo Since the Control System Toolbox is available, I think the workaround is to first work o...

4 days ago | 0

PI Controller Tuning for totem pole Pfc
Hi @Barath Narayanan I forgot to ask the PI values you obtained from sisotool. Please check if the performance requirements are...

5 days ago | 0

| accepted

Calculate the area of geometry
Hi @Minh If you know the point coordinates of the geometry, perhaps you can explore the area() function. x = [0 2 1.5]; y = [...

5 days ago | 0

Finding the function of the supremum
Hi @Aysel Alimirzayeva I'm not sure if the following is what you want. But this 1st-order transfer function (taking the Laplace...

6 days ago | 0

Simple PID Controller with Simulink
Hi @Jeff Dillon Not a VTOL person, but from the free-body diagram, Newton's 2nd Law can be applied with the basic assumptions o...

7 days ago | 0

| accepted

How to plot this function?
@Juan Vicente Probably the plot looks like this: syms x y fimplicit(log(abs(y/(y + 1))) == -1/x, [-5 5 -10 10])

8 days ago | 0

| accepted

Rounding towards zero or from zero
Hi @Nick Austinos Does this work for you? x = 3.6; y = floor(x)

9 days ago | 0

Throttle Command to Torque Command
Hi @Tamas Can you possibly find out the formula or relationship between the Throttle_position and the Torque_command? If you d...

9 days ago | 0

Matlab code for solving nonlinear equations
Since you generally asked for any three nonlinear equations, I guess you just need to constrain the solver/algorithm to take onl...

11 days ago | 0

Find the minimum of a function
Hi @Melika Eft The constrained optimization problem probably can be formulated like this: fun = @(x) x(1)^2 + x(2)^2; x0 = [...

11 days ago | 1

| accepted

How can I compute envelope for three phase current?
You can try if the envelope function works for you. https://www.mathworks.com/help/signal/ref/envelope.html

11 days ago | 0

Plot of magnetic field
@Prem, Not exactly sure what you asked. If you are asking about plotting in MATLAB, then use this function: help plot If you ...

12 days ago | 0

Vehicle speed calculation script
Hi @Prabaharan A Here is a basic script to calculate the average vehicle speed: Distance = 200; % km Duration...

13 days ago | 0

Add 2 trigonometric functions, with conditions
Are you trying to plot the addition of two sinusoidal functions, even when there are discontinuities? x = linspace(-1, 1, 200...

13 days ago | 0

| accepted

hi every one i need series for erfc(x) match with it in plot
Hi @sura Are you looking for something like this? syms x sympref('PolynomialDisplayStyle', 'ascend'); f = erfc(x); ...

13 days ago | 0

| accepted

how to change the fall time of step input in simulink
Hi @Swasthik Baje Shankarakrishna Bhat, You reuse the same syntax. I created a general one so that you can enter the desired pa...

13 days ago | 0

Finding peak in the Gaussian like function which Value is unknown.
Hi @Jae-Hee Park Can you try if the findpeaks function works for your application? You can also find some examples here: http...

14 days ago | 0

Fuzzy Logic display results
Hi @strat For this requirement, we can try the dictionary Object (newly introduced in R2022b) to map the FIS output (Fan Speed ...

14 days ago | 0

how to change the rise time of step input in simulink
Hi @Swasthik Baje Shankarakrishna Bhat Edit: I created a general one so that you can enter the desired ramp up parameters: % u...

14 days ago | 0

| accepted

How to use output of one fuzzy logic system as input for another?
Here is a simple example, where the output from the first FIS is fed into the second FIS. If the dual system is designed correc...

15 days ago | 0

find the value/s of the membership function when a crisp value is given???
Hi @Gadelhag M Omar Mohmed, It might be a little late answering this. But a data-driven Mamdani Fuzzy System can be generated ...

15 days ago | 0

Finding the relative orientation to a robot
Hi @Pawel Grum Generally, you can the transformation matrix to obtain the relative orientation. For simplicity, you can try stu...

15 days ago | 1

| accepted

how to reduce fuzzy rules generated by mamdani fis
With almost a thousand rules for 8 inputs, I guess there are 6 inputs with 2 fuzzy sets, 1 input with 3 fuzzy sets, and another ...

16 days ago | 0

how to code transfer function
@Cesar Cardenas, Try something like this: tau0 = 2; tau1 = 3; Gp = tf(1, [tau1 1],'InputDelay', tau0) For more info, plea...

16 days ago | 0

help with smooth curve
@Felix Obite, Have you looked into interp1() function? Check out the first example: https://www.mathworks.com/help/matlab/ref/...

16 days ago | 0

Velocity vs Time graph in matlab
Hi @Sandun, I'm also new as to this kind of problem, with , strictly from the mathematical notation perspective. I think item ...

16 days ago | 0