The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
0answers
20 views

On Simulink, fzero function is an unsupported MATLAB function, is there any alternative?

I need to use "fzero" (or any alternative) function on Simulink, but MATLAB says: "Code generation does not support anonymous functions.". Is there any way to use this function on Simulink? I do not ...
0
votes
3answers
45 views

Basic Mathematics (on MATLAB & Simulink)

I need some help for the below equation, is there any function which could help me to solve for b variable in MATLAB & Simulink? Otherwise, which numerical methods would you prefer? ...
0
votes
0answers
20 views

Direction of rotation in matlab/simulink

I have a general question. In Simulink, say you have identified an axis for a revolute joint (x,y,z):(1,0,0) and you plot the angle. Is the normal convention the right hand rule? In this case positive ...
2
votes
1answer
428 views

Roll PID Control for quadcopter

I'm trying to implement with simulink a PD controller for my quadcopter. I use a simplified model, and for the roll case I have $ I_x * \phi = L $, where L is the roll torque. So, the transfer ...
0
votes
0answers
28 views

Which model technique to use for differential equation

We have a diferential equation: $$u'(t) - u(t) = y'(t) + y(t)$$ Which method do we use to create a model in simulink for this diferential equation, as we cannot use Indirect method, becouse ...
0
votes
0answers
47 views

Saturation Modeling in ODE45

I have a machine with an arm that can move in a linear one dimensional way. There are 3 limits on the arm: The arm has boundary for its location $(x_{min},x_{max})$ The arm has limit on its velocity ...
0
votes
1answer
42 views

uniqueness of svd decomposition and its role in statistical analysis

let us consider following model according to following link http://www4.ncsu.edu/~ipsen/REU09/chapter4.pdf it says that : The singular values are unique, but the singular vector matrices are ...
0
votes
1answer
378 views

Simulink model from a nonlinear State Space

I have the nonlinear state space already constructed in MuPAD as shown: u is the input and y is the output. What is the best way for me to take this to Simulink?
1
vote
1answer
321 views

How does MATLAB Simulink get such accurate ODE solution results?

I have a fixed-step model (0.001s) in Simulink in which a second order ODE is effectively being set up, a free spring-mass-damper system (m=2, c=0.3, k=1, x0=0, x_dot_0=4). I am studying the solvers ...
1
vote
1answer
52 views

Is it allowed to use the quadratic solution formula for a differential equation

I have some trouble with a challenging fluid mechanics problem. The problem leads me to a non-linear ode 1st order. $0={\dot p_C}^2+\frac{k_1}{k_2 C}\dot p_C+\frac{p_C-p_0}{k_2C^2}$ My Idea was now ...
0
votes
1answer
491 views

Reciprocal -block in Simulink?

I have nonlinear-differential -system for water-flow. I need to find the reciprocal -block in Simulink. I could do it with reciprocal-sqrt -block and sum -block but too complicated, there must be some ...