
Sam Chak
Statistics
0 Questions
466 Answers
RANK
118
of 260,556
REPUTATION
894
CONTRIBUTIONS
0 Questions
466 Answers
ANSWER ACCEPTANCE
0.00%
VOTES RECEIVED
101
RANK
of 17,905
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANK
of 111,991
CONTRIBUTIONS
0 Problems
0 Solutions
SCORE
0
NUMBER OF BADGES
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Content Feed
How do I perform a segmented regression for linear and exponential piecewise curve
Hi @Luqman There are 3 segments defined over certain intervals of : a constant a straight line and an exponential decay ...
5 hours ago | 0
Need help with "Out of memory" error
5 millions of rows... Even Excel cannot handle more than 1,048,576 rows. What is the size of your data array? N = 5e6; n = ro...
16 hours ago | 0
Approximating fractional order system to higher order integer order transfer function
Hi @Amarnath K The FOMCON toolbox by @Aleksei Tepljakov is pretty popular for dealing with fractional-order systems. Also chec...
21 hours ago | 0
FRF (frequency response function) quarter car
Hi @Federico Paolucci Perhaps you can use this tfestimate() command to estimate the transfer function of quarter car. Examples ...
21 hours ago | 0
Given the set X and Y of a circle/ellipse how would you calculate the diameter?
hi @Glypton One way is to fit the data (x, y) using the circle equation model. From the fitted model, you will know the radius...
21 hours ago | 0
| accepted
Fit a spline function to a set of data points
Hi @Deepa Maheshvare Thought you want the 'spline'? Is there a reason to use the 'linear' method? x = [0, 4, 6, 10, 15, 20];...
1 day ago | 0
| accepted
How to represent a curve with straight line segments?
Hi @Luis Eduardo Pacheco González Just wondering if you want to display a smooth sinusoidal curve like this? Or, if you are as...
2 days ago | 1
| accepted
How do I plot this piecewise function?
Hi @Zac Because you mispelled 'piecwise'? Anyhow, you can try using one of these methods: t = -3:1e-3:5; %% Method 1 x = ...
2 days ago | 2
| accepted
MPC toolbox: implementation of default cost function
Hi @Renate There shoud be a file called mpc_costcomputation. Please check if this is what you are looking for. edit mpc_costco...
2 days ago | 0
| accepted
How to utilize dropout to an anfis in MatLab
Hi @Chengxiang Perhaps you can copy the source code from here edit anfis and then paste the anfis code to a new script, where...
3 days ago | 0
Can anyone please help me in plot of detaec' and taln. In this Iam getting error Error: Invalid expression. When calling a function or indexing a variable, use parentheses. Ot
Hi @Nudrat Sufiyan From your parameters, ThisTerm returns a vector of very small values, because of your chosen value in p. If...
3 days ago | 0
| accepted
Build expert system in Matlab
Hi @Sarah Since you now have the idea how to create the rules, then you can build the Expert system.
3 days ago | 0
ODE45: Solving a system of ODEs, except one of the equations changes based on certain parameters. How can I code this?
@Josh Ciesar Assuming that the right direction of the piston is defined by , then this graph shows exactly what you described. ...
4 days ago | 0
bode diagram of the quarter car
Hi @Federico Paolucci Say the car model is given by . Then you can use the bode() function. omega = 1; zeta = 0.125/8; s = ...
4 days ago | 0
square wave not "limited"
@Federico Paolucci Doesn't seem to have any issue. t = linspace(0, 3*pi, 3001)'; f = 2; duty = 50; x = 0.03*square...
5 days ago | 1
how to only plot a certain area of an existing plot
Hi @rman Generally, this imcrop() command is used to crop image, but it can only crop rectangular shape. To crop a circular sh...
5 days ago | 0
How can I output the bode plot of a closed control circuit in simulink?
Hi @3a4 In Calculus, we learned Laplace Transform as a strategy for resolving linear differential equation. Applying Laplace ...
5 days ago | 0
| accepted
Math equation for MFCC bit rate
Hi @Jogger If you had begun your journey into the unknown, then perhaps MATLAB Reinforcement Learning Toolbox can help you with...
5 days ago | 0
Please I am working on gait planning but I hwve to determine the position angles
@Eric Andoh Perhaps you can try fitting that using the Sum of Sines Model. https://www.mathworks.com/help/curvefit/sum-of-sine...
5 days ago | 0
| accepted
Recover the best individual of each population in GA
Yes, @Jaime Trivino, it is possible according to this section. state.Score % gives you the scores of the current population...
6 days ago | 0
| accepted
the error "The function values at the interval endpoints must differ in sign" + fzero
Hi @Mohamed Adam The function values between the endpoints in this interval x_int have the same sign. If they have different si...
6 days ago | 0
Simulink model of RLC circuit (2nd order differential equations)
Hi @Tech The first impression is that the singularity might be caused by the "Division by zero" issue. Looking at your differe...
6 days ago | 1
| accepted
How can i solve this cost function?
Hi @Volcano I converted the matrix equation into a scalar equation. Since there is no constraint, fminunc() is used and the loc...
6 days ago | 1
How can I solve this second order equation?
@Shada ahmed This is not exactly the equation given, but it should give you the idea of ''visualizing' the relationship between...
6 days ago | 0
Design 2nd order band Pass filter on MATLAB using any windowing technique , then find magnitude and phase response.
Hi @Razzaq Maybe it looks like this: Flo = 5e3; % low cutoff, (rad/s) Fhi = 10e3; % high cutoff R1 ...
6 days ago | 1
Too Many Input Arguments - I am new to matlab and not sure how to solve this
Try fixing these lines function dhdt = thesis(t, h) dhdt = x1*(K1*t-(Vsto*fPr));
6 days ago | 1
| accepted
Dear researchers, how can can I simulate nonlinear disturbance observer for UAV on Simulink?
Hi @ALABA PHILIP OPAYEMI As you didn't provide sufficient explanations for the problem and I don't know what it is, so I just i...
7 days ago | 1
| accepted
Simulating linear systems with nonuniform time vector
Hi @Paolo Rapisarda I think you can possibly use the 1-D data interpolation technique, interp1() function at certain intervals ...
7 days ago | 1
| accepted
Find Intersection between curves
Hi @Anfal AlShehhi I think the script shared File Exchange works. However, if you want something mathematically simple to under...
7 days ago | 0
Efficiently handle nonlinear models in Matlab (not Simulink)
Hi @Moritz Sigg For non-stiff nonlinear models, the ode45() is the general way of simulating them, and the nonlinear model is t...
7 days ago | 1