31 total contributions since 2013

Professional Interests: system identification, control system design for aerospace and automotive applications,modeling and simulation,RTW

Solved

Find the sum of all the numbers of the input vector

Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

4 years ago

Answered

how to find transfer function from step response parameters?

For first order/second order systems you can use the empirical relationship to find the transfer function. For higher order syst...

how to find transfer function from step response parameters?

For first order/second order systems you can use the empirical relationship to find the transfer function. For higher order syst...

5 years ago | 0

Answered

Best way to make a matlab - simulink closed loop simulation

can't you use MATLAB function blocks in Simulink to achieve this?

Best way to make a matlab - simulink closed loop simulation

can't you use MATLAB function blocks in Simulink to achieve this?

5 years ago | 0

Answered

need help with ode45

See, you are not defining aC in the function xC3 and this aC is again dependent on the state xC aC = am+max(0,1-CC/(...

need help with ode45

See, you are not defining aC in the function xC3 and this aC is again dependent on the state xC aC = am+max(0,1-CC/(...

5 years ago | 0

Answered

need help with ode45

The problem here is that the scope of variable "bC" is outside the definition of function. Either define them locally by defin...

need help with ode45

The problem here is that the scope of variable "bC" is outside the definition of function. Either define them locally by defin...

5 years ago | 0

Answered

How to calculate gain for any difference equation?

I didn't follow the question . Can you specify more details ?

How to calculate gain for any difference equation?

I didn't follow the question . Can you specify more details ?

5 years ago | 0

Answered

area of hysteresis complex loops for calculating the dissipated energy.

There is no inbuilt function . You need to write your-own function .Presuming that you have x and y vectors and hysteresis loop ...

area of hysteresis complex loops for calculating the dissipated energy.

There is no inbuilt function . You need to write your-own function .Presuming that you have x and y vectors and hysteresis loop ...

5 years ago | 0

Answered

Determine point intersection of 2 vectors with different values.

Could you explain ? I didn't follow it precisely

Determine point intersection of 2 vectors with different values.

Could you explain ? I didn't follow it precisely

5 years ago | 0

Answered

Determine point intersection of 2 vectors with different values.

If you need analytical solution, then you should first have analytical expressions like polynomial expressions etc. . So use "cf...

Determine point intersection of 2 vectors with different values.

If you need analytical solution, then you should first have analytical expressions like polynomial expressions etc. . So use "cf...

5 years ago | 0

Answered

Unit delay's magnitude

It should be the sample time 0.5 s. You can verify this yourself in simulink using a signal generator, unit delay and sink

Unit delay's magnitude

It should be the sample time 0.5 s. You can verify this yourself in simulink using a signal generator, unit delay and sink

5 years ago | 0

Answered

ODE45 help with function (numel(y)=1 error)

I don't think there is an error in the m script. But this error is shown because you are defining another "y" probably a local y...

ODE45 help with function (numel(y)=1 error)

I don't think there is an error in the m script. But this error is shown because you are defining another "y" probably a local y...

5 years ago | 1

| accepted

Answered

Covert cell to matrix for MFCC features vector

Use cell2mat %"a" is a cell array b = cell2mat(a);

Covert cell to matrix for MFCC features vector

Use cell2mat %"a" is a cell array b = cell2mat(a);

5 years ago | 0

| accepted

Answered

Simulink button for a cubic function

You can use "user defined function" blocks in Simulink for these purposes. Use "Fcn","Matlab function" etc for this For example ...

Simulink button for a cubic function

You can use "user defined function" blocks in Simulink for these purposes. Use "Fcn","Matlab function" etc for this For example ...

5 years ago | 0

Answered

need to plot value of tau for changing value of angles help

Here you are only storing last values of "k" and "p". And hence the plot shows a point. To modify the code, store value of k f...

need to plot value of tau for changing value of angles help

Here you are only storing last values of "k" and "p". And hence the plot shows a point. To modify the code, store value of k f...

5 years ago | 0

| accepted

Answered

Please help me with the algorithm of the formula in the attached file................

??

Please help me with the algorithm of the formula in the attached file................

??

5 years ago | 0

Answered

is it possible to square every element in equation ?

Yes, This is possible in Symbolic Math Toolbox for example syms a b c d s=a+b+c+d; subs(s, [a b c d],[a^2 b^2 c^2 d^2...

is it possible to square every element in equation ?

Yes, This is possible in Symbolic Math Toolbox for example syms a b c d s=a+b+c+d; subs(s, [a b c d],[a^2 b^2 c^2 d^2...

5 years ago | 0

Answered

Is it possible to tune PID controller using "gamultiobj"

Yes it is possible. <http://www.maxwellsci.com/print/rjaset/v7-1116-1122.pdf Optimization of PID Controller for Brushless DC Mot...

Is it possible to tune PID controller using "gamultiobj"

Yes it is possible. <http://www.maxwellsci.com/print/rjaset/v7-1116-1122.pdf Optimization of PID Controller for Brushless DC Mot...

5 years ago | 0

| accepted

Answered

I'm trying to make a paper-scissors-rock game that you verse the computer in. I need some help with the final part ... I have posted what my start of my program looks like

Madeleine, now that you have done this far, its very easy. You just need to check if the human wins or computer wins or the gam...

I'm trying to make a paper-scissors-rock game that you verse the computer in. I need some help with the final part ... I have posted what my start of my program looks like

Madeleine, now that you have done this far, its very easy. You just need to check if the human wins or computer wins or the gam...

5 years ago | 1

| accepted

Answered

call a function within another function

You can use function handles for this. The task is to create a handle of the function you want to call and pass this to the othe...

call a function within another function

You can use function handles for this. The task is to create a handle of the function you want to call and pass this to the othe...

5 years ago | 0

Answered

What would be the simulation for the following statement?: A fair coin is tossed until the first head occurs. Do this Z = 10 times and plot the relative frequencies of this occurring at the ith toss, for suitable values of i.

clear all clc close all z=10;%number of times you want to repeat the experiment s=zeros(0,z); for j=1:z ...

What would be the simulation for the following statement?: A fair coin is tossed until the first head occurs. Do this Z = 10 times and plot the relative frequencies of this occurring at the ith toss, for suitable values of i.

clear all clc close all z=10;%number of times you want to repeat the experiment s=zeros(0,z); for j=1:z ...

5 years ago | 0

| accepted

Solved

Make the vector [1 2 3 4 5 6 7 8 9 10]

In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

5 years ago

Answered

how to control the cart position in the inverted pendulum?

Hi there, This is a bench mark problem in control engineering why because 1)system is nonlinear (not a big deal as almost ...

how to control the cart position in the inverted pendulum?

Hi there, This is a bench mark problem in control engineering why because 1)system is nonlinear (not a big deal as almost ...

5 years ago | 1

Answered

Simulink and graphical programming languages

Yes Simulink is a graphical programming language because, the source code itself is graphical in nature, though text can be incl...

Simulink and graphical programming languages

Yes Simulink is a graphical programming language because, the source code itself is graphical in nature, though text can be incl...

5 years ago | 0

| accepted

Answered

How can i build the state space for a linear time varying system in MATLAB?

You can get a tutorial on this from the following link <http://www.youtube.com/watch?v=_DTdgp-oIUI SIMULINK modeling of a spr...

How can i build the state space for a linear time varying system in MATLAB?

You can get a tutorial on this from the following link <http://www.youtube.com/watch?v=_DTdgp-oIUI SIMULINK modeling of a spr...

5 years ago | 0

Answered

symbolic multivariable Taylor series first order approximation

You can use mupad for this. Suppose your ODE is dot(.)=f(x,y....) and you want to expand along(x0,yo,....) and n is the order up...

symbolic multivariable Taylor series first order approximation

You can use mupad for this. Suppose your ODE is dot(.)=f(x,y....) and you want to expand along(x0,yo,....) and n is the order up...

5 years ago | 0

| accepted

Answered

Signal Convolution in simulink

<http://www.mathworks.in/matlabcentral/answers/123684-could-you-help-me-to-write-this-formula-in-matlap-and-to-get-it-s-code dis...

Signal Convolution in simulink

<http://www.mathworks.in/matlabcentral/answers/123684-could-you-help-me-to-write-this-formula-in-matlap-and-to-get-it-s-code dis...

5 years ago | 0

Answered

could you help me to write this formula in matlap ,and to get it's code ??

clc close all clear all x=1:10;%give your x here h=0:2:6; %give your h here m=length(x); n=length(h); X=[x,zero...

could you help me to write this formula in matlap ,and to get it's code ??

clc close all clear all x=1:10;%give your x here h=0:2:6; %give your h here m=length(x); n=length(h); X=[x,zero...

5 years ago | 1

| accepted