Community Profile

# Paresh yeole

Last seen: etwa ein Monat ago Active since 2019

Control Theory Enthusiast

All

View badges

#### Content Feed

View by

Answered
How to write code in MATLAB?
for x=1:10 if x<=2 f(x) = x*x - x + 1; elseif x<=7 && x>2 f(x) = 0; else f(x) = 2*x*x +...

11 Monate ago | 0

Answered
what is loop for this relation?
i = 2; j = 1; T(j) = T0; for deltaT=50:50:150 K_eff=C_E+(teta*deltaT*K_E); F_eff=(C_E-((1-teta)*deltaT*K_E))*T(j)+(...

11 Monate ago | 0

Answered
How to input two signals to one transfer function?
I would suggest to create a state space system for the slider and then convert it to transfer function model. While defining s...

mehr als ein Jahr ago | 0

Answered
How can one accomplish a H∞ tuning of fixed-structure controllers using the command "hinfstruct" for a DISCRETE system.
It is because of MATLAB version. For 2015b, The documentation page for hinfstruct is: https://www.mathworks.com/help/release...

mehr als ein Jahr ago | 0

| accepted

Answered
Time axis as x axis
When you do plot(signal) Matlab plots the signal values for each data point. But if your x-axis do not vary in the steps of ...

mehr als ein Jahr ago | 0

Answered
How can I import my graph as a signal to Simulink?
Lookup table is what you need. Below is a link for a video on lookup tables: https://www.youtube.com/watch?v=HmfwKoFHrO4

mehr als ein Jahr ago | 1

Answered
Back-calculating a variable in equation to give a value of zero
k = 1; % outside the loop % inside the loop F(k) = ... %rest remains unchanged k = k+1;

mehr als ein Jahr ago | 0

| accepted

Answered
V2X simulation in Matlab
Check this out : https://www.mathworks.com/matlabcentral/answers/526314-model-to-create-v2x-applications#answer_433103

mehr als ein Jahr ago | 0

Answered
Problem with code when create a matrix in Maltab
Clear the variables before starting. You may write clear all in the beginning of your code

mehr als ein Jahr ago | 0

| accepted

Answered
Symbolic Vector ODE numerical solution
in your equation for 'eq', if you are looking for double differentiation then it should be eq = diff(theta, t, 2) - cos(theta)...

mehr als ein Jahr ago | 0

Answered
Finding Maximum Value of a Table/Categorical Array
first convert categorical to numeric array : tmax = str2double(cellstr(tmax)); tmax(tmax == 'NA') = NaN; max(tmax) convert t...

mehr als ein Jahr ago | 0

| accepted

Answered
Saving multiple matlab figures as per their title
t= get(gca,'title'); FigName = get(t,'string'); This should do the work.

mehr als ein Jahr ago | 0

Answered
For Loop to generate value alternately
% initialize n length_of_beam = 12; for i = 1 : n length_of_beam = length_of_beam +3; if mod(i,2) == 0 ...

mehr als ein Jahr ago | 0

| accepted

Answered
Why cant I predict kstep ahead when adding System Identification models?
https://de.mathworks.com/help/ident/ref/compare.html Check this link. It says : 'compare ignores kstep when sys is an iddata...

mehr als ein Jahr ago | 0

Answered
can any one solve this ?
m = 20; % kg k = 20; %N/m x_0 = 0.5; %m c1 = 5; %underdamped c2 = 40; % critically damped c3 = 200; %overdamped syms x(t...

mehr als ein Jahr ago | 1

Answered
Finding mean values several times.
for i=1:n if i+4<length(vector) A(i) = mean(vector(i:i+4)); else A(i) = mean(vector(i:end)); en...

mehr als ein Jahr ago | 0

Answered
How can I reformat the axes of a graph?
Use xlabel : xlabel('Capacitance') Refer xlabel documentation for more details, https://de.mathworks.com/help/matlab/ref/xlab...

mehr als ein Jahr ago | 0

Answered
Can I solve this Matrix multiple of question?
If you want to mulitply, the value at A(2,2) with x : B = A(2,2)*x; Or else if you want to multiply entire second column and e...

mehr als ein Jahr ago | 0

Answered
PID Time behavior of the maximum and minimum points
You can use PID Tuner App to set the PID gains.

mehr als ein Jahr ago | 0

Answered
Wrong with matrix dimensions(lsim command)
In the input u, the dimensions are not properly assigned. Try: u=[5*t.^2+10;2*exp(t)+5;ones(size(t))];

mehr als ein Jahr ago | 0

| accepted

Answered
How can I recognize symbolic value with actual value 0?
You need to specify custom tolerance. if abs(ans) < 1e-10 ans = 0; end You can specify your own tolerance instead of 1e-...

mehr als ein Jahr ago | 0

Answered
How to create for-loop for this case ?
Referring from your previous question, I think this is what you need : for i=1:(no_of_datapoints/25) S(i) = std(data1(1+(...

fast 2 Jahre ago | 0

Answered
How to a create for loop for this ?
There is inconsistency. The first covariance value is for 25 numbers and the other two are for 26 numbers. If you are looking fo...

fast 2 Jahre ago | 0