Sam Chak - MATLAB Central
photo

Sam Chak


Last seen: Today Actif depuis 2020

Followers: 15   Following: 0

Statistiques

MATLAB AnswersFrom 07/20 to 03/25Use left and right arrows to move selectionFrom 07/20Use left and right arrows to move left selectionTo 03/25Use left and right arrows to move right selectionUse TAB to select grip buttons or left and right arrows to change selection100%

RANG
43
of 297 398

RÉPUTATION
4 556

CONTRIBUTIONS
0 Questions
1 862 Réponses

ACCEPTATION DE VOS RÉPONSES
0.00%

VOTES REÇUS
976

  • Most Accepted 2024
  • 36 Month Streak
  • Thankful Level 3
  • Guiding Light
  • Knowledgeable Level 5
  • Revival Level 1
  • First Answer

Afficher les badges

Feeds

Afficher par

Réponse apportée
Problem with derivative block simulink
Hi @Purvaja Based on the information provided by the OP, I will likely construct the model as illustrated. However, if the refe...

environ 3 heures il y a | 0

Réponse apportée
How to use the integrating option in a closed-loop PID autotuner?
Here is the difference between stable plants and integrating plants: %% Stable Plant (all eigenvalues have negative real part) ...

environ 9 heures il y a | 0

Réponse apportée
I need help for drawing a constraint in Matlab in 2D
Hi @nadia nadi You should replace the p3 line with this: p3 = 3/2*ones(1, numel(x1(1,:))); ... plot(p3, x1(1,:)) clear...

environ 10 heures il y a | 0

Réponse apportée
Request for MATLAB Code of Elephant Search Algorithm (ESA)
Hi @Sina The most effective approach is to contact the authors, as the algorithm was originally coded in MATLAB. They would ben...

environ 10 heures il y a | 1

Réponse apportée
solve algebric loop error
Hi Shabina, The error suggests that you have incorrectly modeled the dynamic system, resulting in a singularity. This is ...

environ 11 heures il y a | 0

Réponse apportée
"Hold Value" of a Fuzzy Control while no rule is active
Hi @Daniel If none of the rules is triggered for any output, the defuzzified output value will default to its mean range value,...

3 jours il y a | 0

Réponse apportée
Error using type too many output arguments
Possibly syntax error. The strcmpi() function is used to compare strings. So, you need to place the texts in double quotes. %va...

4 jours il y a | 0

Réponse apportée
iztrans giving unexpected outputs
Another way is to provide a proof by contradiction. Misprints can happen due to a lack of proofreading. syms n f1 = n*(-1)^...

4 jours il y a | 0

| A accepté

Réponse apportée
Liquid Hydrogen Fuel Station
Hi @Shiva Kumar Bairoju Like @Yifeng Tang, I'd also suggest modeling this system using Simscape, as the entire hydrogen refueli...

7 jours il y a | 0

Réponse apportée
Incorrect y intercept using fitlm
Extend the line, and you will see the y-intercept at . % Example data (replace with your actual data) xData = [1, 2, 3, 4, 5, ...

7 jours il y a | 0

| A accepté

Réponse apportée
Numerical solution to coupled non linear differential equations
Hi @Atharv Although I don't understand your robotic dynamics, but based on your ODEs, I see that is present in the highest ord...

10 jours il y a | 0

Réponse apportée
Matlab Dimpulse function documentaion not found
Hi @Md. Ikrama Hossain For your information, the current version of the impulse() function can be applied to both continuous-ti...

10 jours il y a | 0

Réponse apportée
how to access variables from simout - simulink simulation running programatically
Try this %% Data sent to Workspace toWksData = out7_1_1.simout; or this toWksData = get(out7_1_1, simout);

10 jours il y a | 0

Réponse apportée
can't write "hat", "tilde", "bar" in the title of the figure
I have problem with the GUI in past releases. I usually type out the syntax on the Command Window. title('$\hat{\theta}_{estim}...

10 jours il y a | 0

| A accepté

Réponse apportée
How to plot and find zeros of a complex polynomial?
Hi @simran I am unsure whether a symbolic approach exists. However, to use the fsolve() function, you need to provide initial g...

10 jours il y a | 0

Réponse apportée
Fuel cell system efficiency increasing at increasing altitude
Hi @Vyom Desai We are uncertain where to begin in reviewing the code, as all the essential calculative steps for determining sy...

11 jours il y a | 0

Réponse apportée
find the minimum of polynomial.
For a two-degree polynomial (quadratic) in the form of "y = ax^2 + bx + c", the formula to find the minimum value is: min = c - ...

11 jours il y a | 0

Réponse apportée
Simulink summing block - how to get negative input at the top of the summing block?
Hi @Kenny Enter this:

12 jours il y a | 1

| A accepté

Réponse apportée
How to use the magicformula as a MATLAB function in simulink
There are two versions of the 'Magic' formulas. Can you mathematically derive ​ from their outputs? If so, you can write the der...

12 jours il y a | 0

Réponse apportée
Finding the points where Bessel functions are equivalent
Hi @Matthew I revisited your approach using vpasolve(), but I provided an initial guess that is close to the solution, as illus...

12 jours il y a | 0

Réponse apportée
Finding the points where Bessel functions are equivalent
Hi @Matthew You might consider approaching the problem as finding the minimum point of a convex function. I have used both ga()...

12 jours il y a | 0

Réponse apportée
How to find the Linear Analysis Tool
Most likely because you haven't installed the Simulink® Control Design™ tool/software.

13 jours il y a | 0

Réponse apportée
Simulink Threshold with action
Naturally, I would expect that the input signal evolves over time and that the thermostat-like controller performs a switching a...

14 jours il y a | 0

Réponse apportée
I made it pretty far in writing the code for an assignment. However, I am struggling to figure out how to finish the code. Can anyone show me how to finish it?
Hi @Antonio I believe that your app should allow users to input their parking start date-time and exit date-time, almost simila...

14 jours il y a | 0

Réponse apportée
Transport delay generate to matlab function
Hi @Enes I applied the modulo operation to the triangular membership function from the Fuzzy Logic Toolbox to create the equila...

14 jours il y a | 0

Réponse apportée
I want to take the square root of a transfer function
Hi @Calum Unlike plotting time responses using the step() and lsim() functions, or first solving the ordinary differential equa...

14 jours il y a | 0

Réponse apportée
Too many input arguments
Previously, the symbolic is undefined in the z(t) function. clear all; close all; syms k t z0=2; r=0.01; K=100; u=0.75; B=1...

15 jours il y a | 0

Réponse apportée
plotting coordinates vs. time and i need my time to run with or without loop function repeatedly.
Hi @shane Generally, coordinates can be specified in 2D (planar) or 3D (spatial) formats. If you wish to plot the spatial coord...

15 jours il y a | 0

Réponse apportée
How to code a cantilever beam with lumped spring mass damper on the free end
Hi @Shrijit Generally, you can model beam dynamics using Euler-Bernoulli theory for long beams or Timoshenko–Ehrenfest theory f...

15 jours il y a | 0

Réponse apportée
ask intergral and derivate
Hi @승표 I used the ordinary differential equations (ODEs) from this PMSM example because they are similar to your case. Specifyi...

16 jours il y a | 0

Charger plus

Go to top of page